Skip to contentSkip to conversation

Laptop harddisk spindown?

DISCUSSION Samium Gromoff 5 participants 5 messages Nov 8, 2001 – Nov 11, 2001 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

" Dominik Kubla wrote:"

Quoted 11 lines · Samium Gromoff
Quoted 9 lines

I`m sorry folks, i dont quite recall whether i poked lkml with that,
but here it is:
2.4.13, reiserfs
i have a disk access _every_ 5 sec, unregarding the system load,
24x7x365, so i suppose while it doesnt hurts me, it hurts folks with power bound boxes...
I must add that i `m experiencing this on -ac tree too, adn this is true
as far as my memory goes... (in the kernel-version context i mean)

Quoted 3 lines
Quoted 1 line

cheers, Samium Gromoff

That's a FAQ: you have cron running...

hehe...
i`ve actually compiled cron only a week ago, so its not an issue ;) (i havent had cron before on my homemmade linux)

i mean i`m not this lame, and i told *no_system_load*... :-)

Quoted 8 lines

Dominik

Signature · 4 lines
ScioByte GmbH    Zum Schiersteiner Grund 2     55127 Mainz (Germany)
Phone: +49 700 724 629 83                    Fax: +49 700 724 629 84

GnuPG: 717F16BB / A384 F5F1 F566 5716 5485  27EF 3B00 C007 717F 16BB

cheers, Samium Gromoff

#2 lore raw
Quoted 3 lines · Samium Gromoff
Quoted 3 lines
Quoted 3 lines

i have a disk access _every_ 5 sec, unregarding the system load,
24x7x365, so i suppose while it doesnt hurts me, it hurts folks with power bound boxes...

That's a kernel daemon called kupdated. Under Linux buffers are flushed every 5 seconds (I don't like this myself, it should be triggered by something dependant on free mem, dirty buffers, disk access, etc. but not time, this doesn't scale.

Under 2.2 you can try the noflushd package - perhaps it works on 2.4, I haven't tried. It works more or less.

Xav

#3 lore raw
In reply to Samium Gromoff
Quoted 9 lines
Quoted 9 lines · Samium Gromoff
Quoted 8 lines

I`m sorry folks, i dont quite recall whether i poked lkml with that,
but here it is:
2.4.13, reiserfs
i have a disk access _every_ 5 sec, unregarding the system load,
24x7x365, so i suppose while it doesnt hurts me, it hurts folks with power bound boxes...
I must add that i `m experiencing this on -ac tree too, adn this is true
as far as my memory goes... (in the kernel-version context i mean)

Did you mount your partitions with "noatime"?

This (and not keeping Mozilla open) does the trick on my laptop, the harddisk goes off after about 30 seconds and if I don't do anything local, it stays off.

(Debian unstable, Kernel 2.4.12-ac6 currently)

c'ya
sven

Signature · 2 lines
The Internet treats censorship as a routing problem, and routes around it.
(John Gilmore on http://www.cygnus.com/~gnu/)
#4 lore raw
In reply to Samium Gromoff

Hi!

Quoted 11 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

i have a disk access _every_ 5 sec, unregarding the system load,
24x7x365, so i suppose while it doesnt hurts me, it hurts folks with power bound boxes...

That's a kernel daemon called kupdated. Under Linux buffers are flushed every 5 seconds (I don't like this myself, it should be triggered by something dependant on free mem, dirty buffers, disk access, etc. but not time, this doesn't scale.

Under 2.2 you can try the noflushd package - perhaps it works on 2.4, I haven't tried. It works more or less.

noflushd does work on 2.4
Pavel

Signature · 2 lines
Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt,
details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.
#5 lore raw
In reply to Samium Gromoff
Quoted 12 lines · Samium Gromoff

" Dominik Kubla wrote:"

Quoted 11 lines · Samium Gromoff
Quoted 9 lines

I`m sorry folks, i dont quite recall whether i poked lkml with that,
but here it is:
2.4.13, reiserfs
i have a disk access _every_ 5 sec, unregarding the system load,
24x7x365, so i suppose while it doesnt hurts me, it hurts folks with power bound boxes...
I must add that i `m experiencing this on -ac tree too, adn this is true
as far as my memory goes... (in the kernel-version context i mean)

Quoted 8 lines
Quoted 3 lines
Quoted 1 line

cheers, Samium Gromoff

That's a FAQ: you have cron running...

hehe...
i`ve actually compiled cron only a week ago, so its not an issue ;) (i havent had cron before on my homemmade linux)

i mean i`m not this lame, and i told *no_system_load*... :-)

Not to mention that 5 second obviously implies it can't be cron (given that it runs once a minute), and points to bdflush, since that is the flushing interval.

Now, on my home box, If I run /bin/sync, the disk seeks, whether there is data to write or not. Before you point to me that I need to mount noatime
- already done :) I think it also did this when bdflush told it to sync, but after installing noflushd (and hacking the b0rked init scripts), all was fine. At least, until I installed ext3 :(

Signature · 5 lines
TimC -- http://www.physics.usyd.edu.au/~tcon/

Some witty text here,
can be any number of lines
long