* [sup-talk] Sup Resource Usage
@ 2009-07-31 15:23 Andrei Thorp
2009-07-31 15:43 ` William Morgan
0 siblings, 1 reply; 3+ messages in thread
From: Andrei Thorp @ 2009-07-31 15:23 UTC (permalink / raw)
This isn't a serious complaint, but I'd just like to bring a couple
things with respect to Sup resource usage to the light.
According to top, Sup uses a fair bit of ram: about 30 MB at any point.
For comparison, pidgin uses about that much, and firefox uses 4x more.
That's generally acceptable, but more than I'd expect from a CLI app.
This is probably unavoidable.
What I find a bit more curious is Sup's wakeups. According to powertop,
sup is actually one of the top power munchers on my computers. I don't
understand why it has to wake up as often as it does: it's responsible
for 20% of all wakeups, with a rating of ~115. By comparison, firefox
does almost exactly the same amount of wakeups, and sup is the third
thing on my list, way above my window manager/de which does considerably
more.
I wonder what could be up here. Anyway, I'm fine with it if it's
un-investigated. Cheers.
--
Andrei Thorp, Developer: Xandros Corp. (http://www.xandros.com)
^ permalink raw reply [flat|nested] 3+ messages in thread
* [sup-talk] Sup Resource Usage
2009-07-31 15:23 [sup-talk] Sup Resource Usage Andrei Thorp
@ 2009-07-31 15:43 ` William Morgan
2009-07-31 16:00 ` Andrei Thorp
0 siblings, 1 reply; 3+ messages in thread
From: William Morgan @ 2009-07-31 15:43 UTC (permalink / raw)
Reformatted excerpts from Andrei Thorp's message of 2009-07-31:
> What I find a bit more curious is Sup's wakeups. According to
> powertop, sup is actually one of the top power munchers on my
> computers. I don't understand why it has to wake up as often as it
> does: it's responsible for 20% of all wakeups, with a rating of ~115.
What's the wakeup behavior of "ruby -esleep"?
What's the behavior of this Ruby program:
require 'rubygems'
require 'ncurses'
Ncurses.initscr
c = Ncurses.getch
Ncurses.endwin
puts c
I'd also be curious if things change under Ruby 1.9.1, since I'd like to
move to that as soon as feasible.
--
William <wmorgan-sup at masanjin.net>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [sup-talk] Sup Resource Usage
2009-07-31 15:43 ` William Morgan
@ 2009-07-31 16:00 ` Andrei Thorp
0 siblings, 0 replies; 3+ messages in thread
From: Andrei Thorp @ 2009-07-31 16:00 UTC (permalink / raw)
Excerpts from William Morgan's message of Fri Jul 31 11:43:26 -0400 2009:
> What's the wakeup behavior of "ruby -esleep"?
Well, you can easily test this yourself with powertop, but just running
this command does not cause a lot of wakeups. (It's not in the top
causes list.)
> What's the behavior of this Ruby program:
>
> require 'rubygems'
> require 'ncurses'
>
> Ncurses.initscr
> c = Ncurses.getch
> Ncurses.endwin
>
> puts c
This program exits right away, so I don't really know how to test it.
--
Andrei Thorp, Developer: Xandros Corp. (http://www.xandros.com)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-07-31 16:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-31 15:23 [sup-talk] Sup Resource Usage Andrei Thorp
2009-07-31 15:43 ` William Morgan
2009-07-31 16:00 ` Andrei Thorp
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox