we're also developing code to display disk writing activity in powertop. Arjen recently merged some patches in powertop's git repo, and this will need a 2.6.32rc kernel (there's a kernel patch to the perf/ftrace subsystem as well).
I can forward the kernel patch (it was posted on lkml) in case needed. just ask. Cheers, Auke Lin, Weiliang wrote: > Thanks, Bart, I will try your tools to see if I can have any new findings. > The file system which I use is ext3. > > > Thanks > -Lin > ________________________________ > From: [email protected] [mailto:[email protected]] On Behalf Of Bart Samwel > Sent: 2009Äê11ÔÂ4ÈÕ 16:19 > To: Lin, Weiliang > Cc: Oliver Neukum; [email protected] > Subject: Re: [Discuss] Disk Power Management > > Hi Lin, > > What file system type? If you use ext3, the commit interval is a problem. > Furthermore, there are WAY more settings that influence this. In order to get > it to work reliably, I would suggest taking a look at laptop-mode-tools, or > at least at all of the settings that this tool tweaks in order to get the > disk to spin down. If you cannot get it to work, the lm-profiler tool > (included in laptop-mode-tools) will help you to identify which programs > cause disk spinups. > > Cheers, > Bart > 2009/11/4 Lin, Weiliang > <[email protected]<mailto:[email protected]>> > Yes, I have tried 'mount -o remount, noatime /', but no any benefit. > > > > -----Original Message----- > From: Oliver Neukum [mailto:[email protected]<mailto:[email protected]>] > Sent: 2009Äê11ÔÂ4ÈÕ 16:11 > To: [email protected]<mailto:[email protected]> > Cc: Lin, Weiliang > Subject: Re: [Discuss] Disk Power Management > > Am Mittwoch, 4. November 2009 06:30:29 schrieb Lin, Weiliang: > >> I profiled the IO W/R using 'iostat' and found that Linux writes disk every >> 10~15 seconds which means that the hard disk can not achieve 2 minutes idle >> time. These written operations prevent the harddisk spin down. >> >> Does anyone know what is the root cause of the every 10~15 disk write even >> on idle system? Is it necessary for Linux? > > You probably change atime on inodes. Have you tried enabling laptop mode? > > Regards > Oliver > > _______________________________________________ > Discuss mailing list > [email protected]<mailto:[email protected]> > http://lists.lesswatts.org/listinfo/discuss > > _______________________________________________ Discuss mailing list [email protected] http://lists.lesswatts.org/listinfo/discuss
