Joerg Schilling wrote:
> Thomas Maier-Komor <[EMAIL PROTECTED]> wrote:
> 
>> star needed some additional functionality. So if you want to use mtwrite 
>> with star, please download the latest version. Performance numbers look like 
>> this:
>>
> 
> Quad Opteron (2x Opteron 880 2.4 GHz) and UFS:
> 
>  LD_PRELOAD=./mtwrite.so ./star xp -time <  ../linux-2.6.17.3.tar.bz2 
> ./star: WARNING: Archive is 'bzip2' compressed, trying to use the -bz option.
> ./star: 23107 blocks + 0 bytes (total of 236615680 bytes = 231070.00k).
> ./star: Total time 174.461sec (1324 kBytes/sec)
> 2:54.473r 18.500u 6.670s 14% 0M 0+0k 0st 0+0io 0pf+0w
> 
> rm -rf linux-2.6.17.3/
> ./star xp -time <  ../linux-2.6.17.3.tar.bz2                        
> ./star: WARNING: Archive is 'bzip2' compressed, trying to use the -bz option.
> ./star: 23107 blocks + 0 bytes (total of 236615680 bytes = 231070.00k).
> ./star: Total time 25.709sec (8987 kBytes/sec)
> 25.733r 15.850u 5.900s 84% 0M 0+0k 0st 0+0io 0pf+0w
> 
> Jörg
> 

I know that star/tar's performance regress on UFS filesystems if you preload 
mtwrite.so. I performed my tests on a ZFS filesystem. I don't have a recent 
linux kernel at hand, because it has been some time since I last used it. But 
all Linux are equal, as you know, and here are some tests with an older linux 
kernel archive:

[EMAIL PROTECTED]:/var/tmp$ uname -a
SunOS azalin 5.10 Generic_118833-36 sun4u sparc SUNW,Sun-Blade-2500
[EMAIL PROTECTED]:/var/a$ cat `which mtstar`
#!/bin/sh
INSTALLDIR=`dirname $0`/../lib
LD_PRELOAD=$INSTALLDIR/mtwrite.so
export LD_PRELOAD
star $@
[EMAIL PROTECTED]:/var/a$ star --version
star: star 1.5a57 (sparc-sun-solaris2.8)

Copyright (C) 1985, 88-90, 92-96, 98, 99, 2000-2005 Jörg Schilling
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


=======> ZFS <==========
[EMAIL PROTECTED]:/var/tmp$ df .
/var/tmp           (mypool/tmp        ):154786268 blocks 154786268 files
[EMAIL PROTECTED]:/var/tmp$ mtstar xp -time < 
/mypool/alternates/ftp/pub/linux-2.6.1.tar.bz2
star: WARNING: Archive is 'bzip2' compressed, trying to use the -bz option.
star: 18213 blocks + 0 bytes (total of 186501120 bytes = 182130.00k).
star: Total time 26.341sec (6914 kBytes/sec)
[EMAIL PROTECTED]:/var/tmp$ rm -r linux-2.6.1/
[EMAIL PROTECTED]:/var/tmp$ star xp -time < 
/mypool/alternates/ftp/pub/linux-2.6.1.tar.bz2
star: WARNING: Archive is 'bzip2' compressed, trying to use the -bz option.
star: 18213 blocks + 0 bytes (total of 186501120 bytes = 182130.00k).
star: Total time 113.350sec (1606 kBytes/sec)

=======> UFS <========
[EMAIL PROTECTED]:/var/a$ df .
/                  (/dev/md/dsk/d20   ):42540552 Blöcke  3538508 Dateien
[EMAIL PROTECTED]:/var/a$ mtstar xp -time < 
/mypool/alternates/ftp/pub/linux-2.6.1.tar.bz2
star: WARNING: Archive is 'bzip2' compressed, trying to use the -bz option.
star: 18213 blocks + 0 bytes (total of 186501120 bytes = 182130.00k).
star: Total time 34.085sec (5343 kBytes/sec)
[EMAIL PROTECTED]:/var/a$ rm -r linux-2.6.1/
[EMAIL PROTECTED]:/var/a$ star xp -time < 
/mypool/alternates/ftp/pub/linux-2.6.1.tar.bz2
star: WARNING: Archive is 'bzip2' compressed, trying to use the -bz option.
star: 18213 blocks + 0 bytes (total of 186501120 bytes = 182130.00k).
star: Total time 36.085sec (5047 kBytes/sec)


Be aware that the attached filesystems are hosten on fast SCSI disks. The UFS 
consists of a mirror of two 15k RPM 73G disks. The ZFS is located on a mirror 
of two 10k RPM 146G disks. Maybe this might be the reason that my tests perform 
much better in threaded mode...

- Thomas
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to