Re: [patch] Give kjournald a IOPRIO_CLASS_RT io priority

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrew Morton <akpm@...>
Cc: Rik van Riel <riel@...>, <arjan@...>, Jens Axboe <jens.axboe@...>, <mingo@...>, <linux-kernel@...>
Date: Wednesday, November 14, 2007 - 3:24 pm

Andrew Morton wrote:

The test works like this:

   1. I ensure that the device under test (DUT) is set to run the CFQ
      scheduler.
         1. It is a Fibre Channel 72GiB disk
         2. Single partition...
   2. Put an Ext3 FS on the partition (mkfs.ext3 -b 4096)
   3. Mount the device, and then:
         1. Put an 8GiB file on the new FS
         2. Put 3 copies of a Linux tree (w/ objs & kernel & such) onto
            the FS in separate directories
               1. Note: I'm going to do runs with 6 copies to each
                  directory tree to get to about 4.2GiB per directory tree
   4. Then, for each of the tests:
         1. Remount the device (purge page cache by umount & then mount)
         2. Start up a copy of 1 kernel tree to another tree (you hadn't
            specified if the copy in the background should be to a new
            area or not, so I'm just re-using the same area so we don't
            have to worry about removing the old). I keep doing the copy
            as long as the tests are going
         3. Perform the test (10 times)

The tests are:

    * Linear read of a large file (8GiB)
    * Tree read (foreach file in the tree, dd it to /dev/null)
    * Overwrite of that large file: was doing 256KiB random&direct
      read/writes, will go down to 4KiB read/writes as that is more
      realistic I'd guess

I'm going to try and get the comparisons done by tomorrow, the results 
should be very different due to the changes noted above (going to 4.2GiB 
trees instead of 700MiB, going to 4K instead of 256K read/writes). This 
may cause the runs to be much longer, and then I won't get it done as 
quickly...


I'll add in continuous 'iostat' grabs, and present data on that too - it 
would contain both generic IO information as well as grabbing 
CPU-related stuff (in particular %system).

I'll get results out when I have the changes made to the script 
(outlined above), and the runs done.

Alan
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [patch] Give kjournald a IOPRIO_CLASS_RT io priority, Andrew Morton, (Wed Nov 14, 1:14 pm)
Re: [patch] Give kjournald a IOPRIO_CLASS_RT io priority, Alan D. Brunelle, (Fri Nov 16, 12:25 pm)
Re: [patch] Give kjournald a IOPRIO_CLASS_RT io priority, Alan D. Brunelle, (Fri Nov 16, 2:39 pm)
Re: [patch] Give kjournald a IOPRIO_CLASS_RT io priority, Alan D. Brunelle, (Fri Nov 16, 12:40 pm)
Re: [patch] Give kjournald a IOPRIO_CLASS_RT io priority, Alan D. Brunelle, (Wed Nov 14, 3:24 pm)
Re: [patch] Give kjournald a IOPRIO_CLASS_RT io priority, Alan D. Brunelle, (Wed Nov 14, 3:56 pm)
Re: [patch] Give kjournald a IOPRIO_CLASS_RT io priority, Arjan van de Ven, (Wed Nov 14, 3:50 pm)
Re: [patch] Give kjournald a IOPRIO_CLASS_RT io priority, Arjan van de Ven, (Wed Nov 14, 1:51 pm)
Re: [patch] Give kjournald a IOPRIO_CLASS_RT io priority, Alan D. Brunelle, (Wed Nov 14, 3:43 pm)