AmigaOS3.5 (64/193)

From:Martin Steigerwald
Date:13 Aug 2000 at 16:39:36
Subject:OT: Filing system comparison (was: Re: PFS and AmigaOS 3.5)

Roger Sivertsen <zool@netcom.no> wrote on Sun, 13 Aug 2000 01:12:57 +0200 about
"[amigaOS3_5] Re: PFS and AmigaOS 3.5" in <yam8260.2895.1969337400@smtp.netcom.no>:

> Hello mark
>
> On 12-Aug-00, you wrote:
>
> > how much faster is pfs3 than sfs?
>
>
> Here are Amiga Format's filesystem test results in seconds:
>
> Copy Rename Delete
>
> FFS 254.72 103.04 7.74
> PFS3 35.04 4.16 2.64
> SFS 54.36 5.32 8.46

Hi!

Strange results - SFS shouldn't be that much slower. Now okay, here
are my test results. Note: Results may be vary on different platforms.
The following are tests I performed for my filesystem comparison
article in german Amiga print magazine "Amiga-Magazin". I have no
complete comparison on 68060 yet. I didn't only test speed but also
size occupation.

Machine was: Amiga 4000 CyberStorm 68040/40 and a 1GB IBM SCSI disk.

Well thats getting off-topic now.

Reply-To: general@amiga.com

The following tests are performed:

1) DiskSpeed + looking at Meter for the CPU time
2) deleting the following file and measuring the time:
Messagebase.BM ----rwed 27210016 Samstag 12:10:42
3) measuring the size occupied directly after formatting the disk
4) copying env: and measuring the size occupied by the directory:
env: 541.70 Kilobytes [Files: 821 Dirs: 77]
5) 3 + 4 = complete space occupied
6) delete all files and measure occupied space again
only SFS:
7) 6 - 3 = administration space that was occupied from SFS

>version l:SmartFilesystem FILE FULL
SmartFilesystem 1.61 (13.04.99)
>version l:pfs2 FILE FULL
Professional-File-System-II 17.8 PROFESSIONAL-VERSION (27.09.98)
written by Michiel Pelt and copyright (c) 1998 GREat Effects Development
>version L:FastFileSystem FILE FULL
fs 43.20 (09.11.98)

a) SFS, 512 byte per block
--------------------------

1)

>diskspeed hd1: ALL
Diskspeed 1.2 (12 July 1998) - Programmed by John Hendrikx

Volume Sonne: 63247 blocks (30 MB), 512 bytes per block.
The volume has 256 buffers and the DosType is 0x444f5300.

Creates 1000 files of 128 bytes : 58 files/second
Scan all files in a directory : 3504 files/second
Lock and unlock a random file : 719 files/second
Open and close a random file : 479 files/second
Load a random file : 71 files/second
Deletes 1000 files : 117 files/second
Random seek/reads of 2048 bytes in
2097152 byte file : 83 times/second
Read data using 65536 byte buffer : 3381 kB/second
Write data using 65536 byte buffer : 2225 kB/second
>

Deleting files with NORECYCLED:

>diskspeed hd1: DELETE
Diskspeed 1.2 (12 July 1998) - Programmed by John Hendrikx

Volume Test: 63247 blocks (30 MB), 512 bytes per block.
The volume has 128 buffers and the DosType is 0x444f5300.

Creates 1000 files of 128 bytes : 55 files/second
Deletes 1000 files : 247 files/second

2)

>timer delete Messagebase.BM
Messagebase.BM Deleted
Zeit 0:00:00.02 + Kind 0:00:00.00 = Total 0:00:00.02, Verstrichen 0:00:00.16

3) 24K

4) 977K

5) 1001K

6) 152K

7) 128K

b) PFS2, 512 byte per block
---------------------------

1)

>diskspeed hd1: ALL
Diskspeed 1.2 (12 July 1998) - Programmed by John Hendrikx

Volume Test: 57715 blocks (28 MB), 512 bytes per block.
The volume has 128 buffers and the DosType is 0x444f5303.

Creates 1000 files of 128 bytes : 72 files/second
Scan all files in a directory : 3851 files/second
Lock and unlock a random file : 305 files/second
Open and close a random file : 284 files/second
Load a random file : 89 files/second
Deletes 1000 files : 227 files/second
Random seek/reads of 2048 bytes in
2097152 byte file : 99 times/second
Read data using 65536 byte buffer : 3407 kB/second
Write data using 65536 byte buffer : 2235 kB/second
>

2)

>timer delete Messagebase.BM
Messagebase.BM Deleted
Zeit 0:00:00.01 + Kind 0:00:00.00 = Total 0:00:00.01, Verstrichen 0:00:00.15
>

3) PFS2 says 0K occupied, but it doesn't tell what is occupied as
internal admin space. But every volume has a certain number of
blocks, look at the DiskSpeed output for PFS2:
Volume Test: 57715 blocks (28 MB), 512 bytes per block.
FFS has 63248 blocks on the same partition, SFS one less.

So goes:

63248 - 57715 = 5533 blocks / 2 = 2766.5K!

This is about 10% of the partition size! On larger partition PFS2 V4.2
should only take 3%.

4) 825K

5) 2766.5 + 825 = 3591K

6) 2766.5K

c) FFS, 1024 byte per block
---------------------------

1)

CPU: 40-50% while directory scan, other times: below 10%

>diskspeed hd1: ALL
Diskspeed 1.2 (12 July 1998) - Programmed by John Hendrikx

Volume Test: 31623 blocks (30 MB), 1024 bytes per block.
The volume has 128 buffers and the DosType is 0x444f5303.

Creates 1000 files of 128 bytes : 23 files/second
Scan all files in a directory : 465 files/second
Lock and unlock a random file : 39 files/second
Open and close a random file : 39 files/second
Load a random file : 34 files/second
Deletes 1000 files : 381 files/second
Random seek/reads of 2048 bytes in
2097152 byte file : 79 times/second
Read data using 65536 byte buffer : 3337 kB/second
Write data using 65536 byte buffer : 1995 kB/second
>

2)

>timer delete Messagebase.BM
Messagebase.BM Deleted
Zeit 0:00:00.02 + Kind 0:00:00.00 = Total 0:00:00.02, Verstrichen 0:00:01.03

3) 5K

4) 2044K

5) 2049K

6) 5K

d) FFS, 512 byte per block
--------------------------

1)

CPU: 40-50% while directory scan, other times: below 10%

>diskspeed hd1: ALL
Diskspeed 1.2 (12 July 1998) - Programmed by John Hendrikx

Volume Test: 63248 blocks (30 MB), 512 bytes per block.
The volume has 128 buffers and the DosType is 0x444f5303.

Creates 1000 files of 128 bytes : 12 files/second
Scan all files in a directory : 552 files/second
Lock and unlock a random file : 18 files/second
Open and close a random file : 17 files/second
Load a random file : 17 files/second
Deletes 1000 files : 355 files/second
Random seek/reads of 2048 bytes in
2097152 byte file : 79 times/second
Read data using 65536 byte buffer : 3282 kB/second
Write data using 65536 byte buffer : 1124 kB/second
>

2)

>timer delete Messagebase.BM
Messagebase.BM Deleted
Zeit 0:00:00.03 + Kind 0:00:00.00 = Total 0:00:00.03, Verstrichen 0:00:07.60

3) 8K

4) 1283K

5) 1291K

6) 8K

e) SFS, 512 byte block on a A4000T 060
--------------------------------------

>diskspeed hd: ALL
Diskspeed 1.2 (12 July 1998) - Programmed by John Hendrikx

Volume Sonne: 1639501 blocks (800 MB), 512 bytes per block.
The volume has 256 buffers and the DosType is 0x444f5300.

Creates 1000 files of 128 bytes : 56 files/second
Scan all files in a directory : 5458 files/second
Lock and unlock a random file : 627 files/second
Open and close a random file : 353 files/second
Load a random file : 66 files/second
Deletes 1000 files : 97 files/second
Random seek/reads of 2048 bytes in
2097152 byte file : 65 times/second
Read data using 65536 byte buffer : 3247 kB/second
Write data using 65536 byte buffer : 3078 kB/second
>

>showconfig
PROCESSOR: CPU 68060/68060fpu/68060mmu
CUSTOM CHIPS: AA PAL Alice (id=$0023), AA Lisa (id=$00F8)
SYSTEM: Amiga 4000, 512.0KB ROM, AGA-Chipset, GfxSystem: Picasso96
VERS: Kickstart version 40.70, Exec version 40.10, Disk version 40.42
RAM: Node type $A, Attributes $505 (FAST), at $8000000-$AFFFFFF (48.0 meg)
Node type $A, Attributes $505 (FAST), at $7000000-$7FFFFFF (16.0 meg)
Node type $A, Attributes $703 (CHIP), at $1000-$1FFFFF (~2.0 meg)
BOARDS:
RBM Computer-Technik IOBlix Multi-I/O: Prod=4711/1($1267/$1) (@$E90000 64K)
VMC #6 (unbekannt): Prod=5001/6($1389/$6) (@$EA0000 64K)
VillageTronic Ariadne II Ethernet: Prod=2167/202($877/$CA) (@$EB0000 64K)
VillageTronic Picasso IV Z3 Graphik: Prod=2167/24($877/$18)
(@$40000000, size 32meg, subsize same)



Martin 'Helios' Steigerwald - m.steigerwald@haage-partner.com
ICQ: #34355756 - please use with care ;-)

Unless otherwise stated, my posts represent my
personal opinions and not necessarily those of my employer.

Please email me personally only if really necessary. Use
"AmigaOS-Support: ..." or "AOS-Support: ..." as subject.