[ltp] Discovering reading/writing processes

Loic Minier linux-thinkpad@linux-thinkpad.org
Fri, 20 Aug 2004 18:18:05 +0200


Eben King <eben1@tampabay.rr.com> - Fri, Aug 20, 2004:

> If you have a swap partition/file, I'd vote for that.

 Argh, I do.  I've swapoffed it for the tests, now I get lines like:
 pdflush(58): WRITE block 64 on hda2
 xfslogd/0(295): dirtied inode 128 (/) on hda2
 pdflush(58): WRITE block 28263168 on hda2
 pdflush(58): WRITE block 27870384 on hda2
 xfsbufd(297): WRITE block 25633016 on hda2
 xfsbufd(297): WRITE block 27549088 on hda2
 xfsbufd(297): WRITE block 25632658 on hda2
 xfssyncd(322): WRITE block 14647392 on hda2
 pdflush(58): WRITE block 29317597 on hda2
 pdflush(58): WRITE block 0 on hda2
 pdflush(58): WRITE block 14660048 on hda2
 pdflush(58): WRITE block 25632720 on hda2
 xfsbufd(297): WRITE block 27549088 on hda2
 xfsbufd(297): WRITE block 25632658 on hda2
 xfsbufd(297): WRITE block 25633016 on hda2

 But I have unwritten=1, as show xfs_info:

 bee# xfs_info /
 meta-data=/                      isize=256    agcount=16, agsize=457726 blks
          =                       sectsz=512  
 data     =                       bsize=4096   blocks=7323616, imaxpct=25
          =                       sunit=0      swidth=0 blks, unwritten=1
 naming   =version 2              bsize=4096  
 log      =internal               bsize=4096   blocks=3575, version=1
          =                       sectsz=512   sunit=0 blks
 realtime =none                   extsz=65536  blocks=0, rtextents=0

 I am no XFS wizard, Debian Installer created the XFS partition for me,
 and I could not find easily an option to slow down the "commits" of
 XFS.

 You guess my next question is: how do you tune your XFS parameters not
 to commit too frequently?

 I will look if laptop mode supports XFS (or vice-versa).

   Thanks!

-- 
Loïc Minier <lool@dooz.org>