[tor-bugs] #28902 [Core Tor/Nyx]: GETINFO commands with huge outputs slow down interpreter curses interface

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Dec 19 05:51:06 UTC 2018


#28902: GETINFO commands with huge outputs slow down interpreter curses interface
--------------------+------------------------------
 Reporter:  wagon   |          Owner:  atagar
     Type:  defect  |         Status:  assigned
 Priority:  Medium  |      Component:  Core Tor/Nyx
  Version:          |       Severity:  Normal
 Keywords:  curses  |  Actual Points:
Parent ID:          |         Points:
 Reviewer:          |        Sponsor:
--------------------+------------------------------
 If you go to Nyx interpreter, run some commands, then press ESC and arrow
 up, you see that scrolling back in history is very fast and smooth.

 Now do the following:
 1. Run `GETINFO desc/all-recent` command 3 times to get very huge output.
 2. Press ESC and then press HOME to get at the top of scroll buffer.
 3. Press arrow up and arrow down keys many times to scroll up/down.
 4. Press ENTER to return to command interface.
 5. Run some command with small output, e.g. `GETINFO info/names`.
 6. Press ESC and try to scroll few lines up by pressing arrow up many
 times.

 You will see that scrolling is very slow. You need few seconds to scroll
 just few lines up in the buffer.

 Nyx version is
 [[http://ea5faa5po25cf7fb.onion/projects/tor/ticket/28332#comment:7|this
 one]]. The ticket is filed by atagar's
 [[http://ea5faa5po25cf7fb.onion/projects/tor/ticket/28877#comment:3|request]]:
 > I suspect your initial hypothesis about the reason Nyx is freezing is
 inaccurate. Feel free to file a separate ticket with the `nyx --debug`
 output when Nyx freezes so I can see what's up.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28902>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list