Re: Performance of ext4

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Holger Kiehl
Date: Thursday, June 12, 2008 - 7:07 am

Hello Ted

On Thu, 12 Jun 2008, Theodore Tso wrote:

I think this should be 2.6.26-rc6?

Yes, thanks a lot. I still have not yet managed to get this to work
with git. But downloading linux-2.6.26-rc5.tar.bz2 and then copying
the ext4-patch-queue into linux-2.6.26-rc5/patches and then using
quilt pull did get all the patches applied.

Here are the first test results:

Version  1.03       ------Sequential Output------ --Sequential Input- --Random-
                     -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP
ext4(patchqueue)16G 59727  98 252733 52 110177 25 55821  98 296739 42  1553   5
                 16G 61047  99 239242 48 111664 25 55706  98 297151 42  1545   4
                 16G 60503  99 241532 47 109655 25 55671  98 297648 42  1552   3

That is with 2.6.26-rc5 + ext4-patch-queue and filesystem was created with
latest e2fsprogs snapshot as you suggested and formated with the following
command:

    mke2fs -t ext4dev /dev/md7

Besides, I am doing those tests on a software raid 1+0. I think that is also
the reason why barriers are disabled by defaults:

    Jun 12 12:17:48 helena kernel: kjournald2 starting.  Commit interval 15 seconds
    Jun 12 12:17:48 helena kernel: EXT4 FS on md7, internal journal
    Jun 12 12:17:48 helena kernel: EXT4-fs: mounted filesystem with writeback data mode.
    Jun 12 12:17:48 helena kernel: EXT4-fs: file extents enabled
    Jun 12 12:17:48 helena kernel: EXT4-fs: mballoc enabled
    Jun 12 12:18:26 helena kernel: JBD: barrier-based sync failed on md7 - disabling barriers

If one compares the results with those of 2.6.25.4 (without ext4-patch-queue):

Version  1.03       ------Sequential Output------ --Sequential Input- --Random-
                     -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP
ext4 (2.6.25.4) 16G 52965  98 224199 89 108440 32 56389  99 303792 42  1526   4
                 16G 52792  98 223980 92 107685 32 56350  98 303066 42  1532   4
                 16G 52994  98 222354 92 107802 32 56386  99 303727 41  1455   4

This is quit an improvement but still does not match those numbers two years
ago.

However there must be still some bug, I am unable to run my own afdbench
benchmark on this (2.6.26-rc5 + ext4-patch-queue). It starts fine but then
about 3 minutes into the test (the test runs ~60 minutes) all process start
hanging in D-state (here a list):

    afdbench 16381  0.0  0.0   4064   760 ?        D    13:08   0:00 sf_ftp /home/afdbench/afd3 0 0 1 22765b95/0/48511fd7_2db_0
    afdbench 16388  0.0  0.0   4064   760 ?        D    13:08   0:00 sf_ftp /home/afdbench/afd3 3 0 1 22765b95/0/48511fd7_2dc_0
    nobody   16391  0.0  0.0  44304  1444 ?        Ss   13:08   0:00 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf
    afdbench 16395  0.0  0.0   4064   760 ?        D    13:08   0:00 sf_ftp /home/afdbench/afd3 5 0 1 22765b95/0/48511fd7_2dd_0
    nobody   16397  0.0  0.0  44304  1448 ?        Ss   13:08   0:00 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf
    nobody   16400  0.0  0.0  44304  1448 ?        Ss   13:08   0:00 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf
    afdbench 16404  0.0  0.0  44328   992 ?        D    13:08   0:00 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf
    afdbench 16409  0.0  0.0  44328   996 ?        D    13:08   0:00 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf
    afdbench 16411  0.0  0.0  44328   996 ?        D    13:08   0:00 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf
    afdbench 16848  0.0  0.0   4064   716 ?        D    13:08   0:00 sf_ftp /home/afdbench/afd1 2 0 0 820dc3d0/0/48511fdd_2f3_0
    afdbench 16855  0.0  0.0   4064   712 ?        D    13:08   0:00 sf_ftp /home/afdbench/afd1 1 0 7 cd52409d/0/48511fdd_2f3_0
    afdbench 16857  0.0  0.0   4064   708 ?        D    13:08   0:00 sf_ftp /home/afdbench/afd1 0 0 8 e1d94fe0/0/48511fdd_2f3_0
    afdbench 16861  0.0  0.0   4064   708 ?        D    13:08   0:00 sf_ftp /home/afdbench/afd1 2 0 9 26686393/0/48511fdd_2f3_0
    afdbench 16865  0.0  0.0   4064   704 ?        D    13:08   0:00 sf_ftp /home/afdbench/afd1 0 0 10 ae36cee/0/48511fdd_2f3_0
    afdbench 16871  0.0  0.0   4064   716 ?        D    13:08   0:00 sf_ftp /home/afdbench/afd2 1 0 0 bca9d45f/0/48511fdd_2d8_0
    afdbench 16876  0.0  0.0   4064   716 ?        D    13:08   0:00 sf_ftp /home/afdbench/afd1 1 0 0 820dc3d0/0/48511fdd_2f4_0
    afdbench 16878  0.0  0.0   4064   772 ?        D    13:08   0:00 sf_ftp /home/afdbench/afd1 0 0 6 b8cf511a/0/48511fdd_2f4_0
    nobody   16879  0.0  0.0  44304  1448 ?        Ss   13:08   0:00 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf
    afdbench 16881  0.0  0.0   4064   704 ?        D    13:08   0:00 sf_ftp /home/afdbench/afd1 0 0 7 cd52409d/0/48511fdd_2f4_0
    afdbench 16885  0.0  0.0  44404  1024 ?        D    13:08   0:00 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf
    afdbench 16886  0.0  0.0   4064   712 ?        D    13:08   0:00 sf_ftp /home/afdbench/afd1 2 0 8 e1d94fe0/0/48511fdd_2f4_0
    afdbench 16890  0.0  0.0   4064   716 ?        D    13:08   0:00 sf_ftp /home/afdbench/afd2 2 0 0 bca9d45f/0/48511fdd_2d9_0
    afdbench 16891  0.0  0.0   4064   712 ?        D    13:08   0:00 sf_ftp /home/afdbench/afd1 0 0 9 26686393/0/48511fdd_2f4_0
    afdbench 16892  0.0  0.0   4064   712 ?        D    13:08   0:00 sf_ftp /home/afdbench/afd1 1 0 10 ae36cee/0/48511fdd_2f4_0

This time there is no OOPS and system is still up running without any
problem (except any process wanting to write something to this filesystem
gets stuck forever).

What can I do to help find the problem? The system is still up with all those
process hanging in D-state.

Thanks,
Holger

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

Messages in current thread:
Performance of ext4, Holger Kiehl, (Wed Jun 11, 1:02 am)
Re: Performance of ext4, Aneesh Kumar K.V, (Wed Jun 11, 3:59 am)
Re: Performance of ext4, Theodore Tso, (Wed Jun 11, 6:54 am)
Re: Performance of ext4, Holger Kiehl, (Wed Jun 11, 12:58 pm)
Re: Performance of ext4 , Nick Dokos, (Wed Jun 11, 1:17 pm)
Re: Performance of ext4, Holger Kiehl, (Wed Jun 11, 1:21 pm)
Re: Performance of ext4, Theodore Tso, (Wed Jun 11, 6:35 pm)
Re: Performance of ext4 , Holger Kiehl, (Thu Jun 12, 2:02 am)
Re: Performance of ext4 , Solofo.Ramangalahy, (Thu Jun 12, 3:58 am)
Re: Performance of ext4 , Holger Kiehl, (Thu Jun 12, 5:00 am)
Re: Performance of ext4, Theodore Tso, (Thu Jun 12, 6:19 am)
Re: Performance of ext4, Holger Kiehl, (Thu Jun 12, 7:07 am)
Re: Performance of ext4, Aneesh Kumar K.V, (Thu Jun 12, 11:06 am)
Re: Performance of ext4, Holger Kiehl, (Thu Jun 12, 12:50 pm)
Re: Performance of ext4, Holger Kiehl, (Fri Jun 13, 1:05 am)
Re: Performance of ext4, Jan Kara, (Mon Jun 16, 10:54 am)
Re: Performance of ext4, Aneesh Kumar K.V, (Mon Jun 16, 11:13 am)
Re: Performance of ext4, Holger Kiehl, (Tue Jun 17, 4:42 am)
Re: Performance of ext4, Holger Kiehl, (Tue Jun 17, 10:58 pm)
Re: Performance of ext4, Andreas Dilger, (Wed Jun 18, 11:58 pm)
Re: Performance of ext4, Theodore Tso, (Thu Jun 19, 4:09 am)
Re: Performance of ext4, Holger Kiehl, (Thu Jun 19, 8:04 am)
Re: Performance of ext4, Theodore Tso, (Thu Jun 19, 8:56 am)
Re: Performance of ext4, Eric Sandeen, (Thu Jun 19, 9:41 am)
Re: Performance of ext4, Theodore Tso, (Thu Jun 19, 10:42 am)
Re: Performance of ext4, Mingming, (Thu Jun 19, 12:51 pm)
Re: Performance of ext4, Holger Kiehl, (Fri Jun 20, 1:09 am)
Re: Performance of ext4, Holger Kiehl, (Fri Jun 20, 1:32 am)
Re: Performance of ext4, Theodore Tso, (Fri Jun 20, 1:59 am)
Re: Performance of ext4, Holger Kiehl, (Fri Jun 20, 2:21 am)
Re: Performance of ext4, Holger Kiehl, (Sat Jun 21, 8:02 am)
Re: Performance of ext4, Aneesh Kumar K.V, (Mon Jun 23, 10:45 am)
Re: Performance of ext4, Andreas Dilger, (Mon Jun 23, 1:55 pm)
Re: Performance of ext4, Mingming, (Mon Jun 23, 5:31 pm)
Re: Performance of ext4, Aneesh Kumar K.V, (Mon Jun 23, 8:07 pm)
Re: Performance of ext4, Aneesh Kumar K.V, (Mon Jun 23, 8:28 pm)
Re: Performance of ext4, Aneesh Kumar K.V, (Mon Jun 23, 8:33 pm)
Re: Performance of ext4, Holger Kiehl, (Tue Jun 24, 5:57 am)
Re: Performance of ext4, Mingming, (Tue Jun 24, 10:58 am)
Re: Performance of ext4, Holger Kiehl, (Tue Jun 24, 2:12 pm)
Re: Performance of ext4, Mingming, (Tue Jun 24, 3:58 pm)
Re: Performance of ext4, Holger Kiehl, (Wed Jun 25, 2:09 am)
Re: Performance of ext4, Mingming, (Wed Jun 25, 5:46 pm)
Re: Performance of ext4, Aneesh Kumar K.V, (Fri Jun 27, 2:14 am)
Re: Performance of ext4, Aneesh Kumar K.V, (Fri Jun 27, 2:49 am)
Re: Performance of ext4, Jan Kara, (Fri Jun 27, 3:00 am)
Re: Performance of ext4, Aneesh Kumar K.V, (Fri Jun 27, 10:35 am)
Re: Performance of ext4, Holger Kiehl, (Mon Jul 7, 6:13 am)
Re: Performance of ext4, Holger Kiehl, (Thu Jul 10, 1:11 am)