You are not logged in.

#1 2010-10-06 18:10:01

dauerbaustelle
Member
Registered: 2010-02-07
Posts: 62

Howto avoid disk I/O?

I hate when my disk spins up every 10 seconds just to write 28k and a 4k block (at least that's what dstat tells me).

I use laptop mode tools (http://paste.pocoo.org/show/271842, hard disk settings begin on line 214), and I think I have configured it correctly.

`touch a` makes my hard disk to wake up in ~ 7 seconds.

I want it to wake up after, say, 5 minutes, if the amount of data is, say, < 3mb.

Any tips?

Last edited by dauerbaustelle (2010-10-06 18:10:37)

Offline

#2 2010-10-06 18:40:35

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Howto avoid disk I/O?

Maybe try something with the way the disks are mounted, when / how the data is periodically flushed to disk.

This is risky, as e.g. 3 MB is a lot of data so you can loose all your changes if something hangs.

Offline

#3 2010-10-06 19:25:17

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: Howto avoid disk I/O?

assuming that you are not running whatever indexing/crap facilitating daemons: use syscals to fix vm.dirty_writeback_centisecs, dirty_background_ratio
vm.dirty_ratio, vm.vfs_cache_pressure,

you may consider I/O scheduler optimized for your fs,
there are syscals specific for fs
ext3/4 do a lot of stuff by default if not controlled

properly set up should help with desktop interactivity and file transfer

hope this will help

Offline

Board footer

Powered by FluxBB