Re: so many applications wake up so often

2006-09-09 Thread Gabor Gombas
On Fri, Sep 08, 2006 at 12:36:17PM -0500, John Goerzen wrote:

 I have no idea what Gnome, KDE, etc. are doing to my disk -- all I know
 is that they seem to have business with it all the time, and it makes it
 very difficult for the disk to spin down.

FYI, kernel 2.6.17 has support for tracing all block device events from
userspace.

Gabor

-- 
 -
 MTA SZTAKI Computer and Automation Research Institute
Hungarian Academy of Sciences
 -


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



so many applications wake up so often

2006-09-08 Thread Dan Jacobson
Using strace, I discovered many programs are constantly busy these
days. No wonder one can't seem to save power. There ought to be a law...
=
Subject: Re: silent PC vs. emacs
Newsgroup: gmane.emacs.pretest.bugs
From: Dan Nicolaescu [EMAIL PROTECTED]

...The OLPC/Fedora people are working on eliminating application
wakeups in order to save power. I cite here from one of the bug
reports about this:

   We're working with RH engineers on a tickless idle kernel, which
   has the goal of reducing power and hypervisor loads when the system
   is idle. This is done by removing the regular ticking clock when
   the system is idle, so that in theory long sleep periods are
   possible for the hardware (or hypervisor). The kernel portion of
   this works great, however when using a gnome desktop there are many
   however when using a gnome desktop there are many timers going off
   all the time for userspace, so many that the actual savings are not
   so great (about 250 events per second).

Given that so many applications wake up so often, what emacs does
might not be measurable at this point, but it might make a difference
in the future.

(If anyone is interested in more details, the bug tracking this
 activity is:
 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=204906 )


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: so many applications wake up so often

2006-09-08 Thread John Goerzen
On Fri, Sep 08, 2006 at 08:17:09PM +0800, Dan Jacobson wrote:

One other thing here -- and I would argue perhaps even more important --
is hard disk access.  I've spent quite some time tuning that, and with
traditional services (cron, MTAs, syslog, etc.) it's a bit
time-consuming but possible.

I have no idea what Gnome, KDE, etc. are doing to my disk -- all I know
is that they seem to have business with it all the time, and it makes it
very difficult for the disk to spin down.

-- John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: so many applications wake up so often

2006-09-08 Thread Holger Levsen
Hi,

On Friday 08 September 2006 19:36, John Goerzen wrote:
 I have no idea what Gnome, KDE, etc. are doing to my disk -- all I know
 is that they seem to have business with it all the time, and it makes it
 very difficult for the disk to spin down.

do you mount with noatime und nodiratime?


regards,
Holger


pgp2HivpIEKoL.pgp
Description: PGP signature


Re: so many applications wake up so often

2006-09-08 Thread John Goerzen
On Fri, Sep 08, 2006 at 10:17:00PM +0200, Holger Levsen wrote:
 Hi,
 
 On Friday 08 September 2006 19:36, John Goerzen wrote:
  I have no idea what Gnome, KDE, etc. are doing to my disk -- all I know
  is that they seem to have business with it all the time, and it makes it
  very difficult for the disk to spin down.
 
 do you mount with noatime und nodiratime?

I have been using noatime for quite awhile now.  mount(8) does not
mention nodiratime anywhere, and I have never used it.

-- John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: so many applications wake up so often

2006-09-08 Thread Martin Langhoff

On 9/9/06, John Goerzen [EMAIL PROTECTED] wrote:

I have been using noatime for quite awhile now.  mount(8) does not
mention nodiratime anywhere, and I have never used it.


Same here. But googling for nodiratime shows it's definitely in the
kernel, and in wide use. Learned something today...

cheers,


martin


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: so many applications wake up so often

2006-09-08 Thread John Goerzen
On Sat, Sep 09, 2006 at 01:52:12PM +1200, Martin Langhoff wrote:
 On 9/9/06, John Goerzen [EMAIL PROTECTED] wrote:
 I have been using noatime for quite awhile now.  mount(8) does not
 mention nodiratime anywhere, and I have never used it.
 
 Same here. But googling for nodiratime shows it's definitely in the
 kernel, and in wide use. Learned something today...

Grepping through the kernel source, though, it doesn't seem to be used
on any common Linux filesystems -- just on ones such as ntfs.

-- John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]