Poster | Thread |
Mopemen
 |  |
FFS VS SFS speed test OS4 Posted on 19-Apr-2007 16:50:42
| | [ #1 ] |
|
|
 |
Regular Member  |
Joined: 7-Feb-2005 Posts: 147
From: The Netherlands | | |
|
| Hi,
Last week I did it. Well, I mean start using SFS of course! Everybody whom using SFS was very positive about the speed of it. Ok, far so good. But I like to try and test it myself!!
And I did it:
I had 3 partitions on my 80GB HD. SYS: 7.5GB DH1: 20GB DH2: ~50GB All the partitions had FFS v52.2 as a file system with a blocksize of 2048.
To create a SFS partition I used the Media Toolbox to reduce the DH2: partition and made 2 new SFS v1.267 partitions with a blocksize of 512.
New situation: SYS: 7.5GB FFS blocksize 2048 DH1: 20GB FFS blocksize 2048 DH2: 35GB FFS blocksize 2048 DH3: ~6GB SFS blocksize 512 DH4: 8,5GB SFS blocksize 512
I wanted to know how long it took in seconds to copy a couple of files from and to a SFS partition. So I made a drawer containing 54 files with a size of ~5MB each (260MB total). And I made a drawer containing 2 files with a size of 300MB each (600MB total).
The test with the 54 files is called 'test1' and 'test2' is the test with the 2 files of 300MB each.
In the results below, the complete drawer is copied between partitions.
Results: From FFS to FFS partition: Test1 took 69 sec Test2 took 167 sec
From SFS to SFS partition: Test1 took 53 sec Test2 took 128 sec
From FFS to SFS partition: Test1 took 53 sec Test2 took 130 sec
From SFS to FFS partition: Test1 took 79 sec Test2 took 184 sec
You may understand that I'm a SFS user by now! _________________ µA1c OS4.1 (with a dead powersupply (powersupplied)) A500 |
|
Status: Offline |
|
|
amipal
|  |
Re: FFS VS SFS speed test OS4 Posted on 19-Apr-2007 17:06:02
| | [ #2 ] |
|
|
 |
Super Member  |
Joined: 8-Apr-2003 Posts: 1907
From: Saltdean, East Sussex, UK | | |
|
| @Mopemen
Welcome to the SFS universe - good, isn't it?  _________________ After a decade away from the scene, I am back! |
|
Status: Offline |
|
|
Micam
|  |
Re: FFS VS SFS speed test OS4 Posted on 19-Apr-2007 18:13:43
| | [ #3 ] |
|
|
 |
Member  |
Joined: 25-Aug-2004 Posts: 93
From: Copenhagen, Denmark | | |
|
| I have never used SFS on any of my Amiga's.
Can someony please tell my the ups and downs with SFS? I can see that the transfer speed is better, but is there no downside to SFS (unstable, compatability issues etc.) ? |
|
Status: Offline |
|
|
lionstorm
|  |
Re: FFS VS SFS speed test OS4 Posted on 19-Apr-2007 19:39:17
| | [ #4 ] |
|
|
 |
Super Member  |
Joined: 31-Jul-2003 Posts: 1594
From: the french side | | |
|
| @Micam
there is no recovery tool for SFS, at least for 68k and os4 but there is one for morphos users. |
|
Status: Offline |
|
|
Framiga
|  |
Re: FFS VS SFS speed test OS4 Posted on 19-Apr-2007 19:41:27
| | [ #5 ] |
|
|
 |
Elite Member  |
Joined: 5-Jul-2003 Posts: 2214
From: Unknown | | |
|
| @lionstorm
probably because you will not need one!
_________________
|
|
Status: Offline |
|
|
hotrod
|  |
Re: FFS VS SFS speed test OS4 Posted on 19-Apr-2007 19:49:46
| | [ #6 ] |
|
|
 |
Elite Member  |
Joined: 11-Mar-2003 Posts: 3005
From: Stockholm, Sweden | | |
|
| @Micam
As mentioned, if something goes bad there isn't much you can do. But on the other hand it's rock stable here so...
As usual... worried? Do backups... got the sources for AmiZilla? Oh PLEASE do a backup... only your partitions with some programs? Well... people are using SFS and do you see poeple having lots of problems? The answer should be no so...
In the end it's up to you offcourse... |
|
Status: Offline |
|
|
elwood
|  |
Re: FFS VS SFS speed test OS4 Posted on 19-Apr-2007 20:29:28
| | [ #7 ] |
|
|
 |
Elite Member  |
Joined: 17-Sep-2003 Posts: 3428
From: Lyon, France | | |
|
| @Mopemen
You had the same amout of buffers on both partitions? BTW, Olaf said the fs_plugin_cache should be used on the FFS2 partition.
Oh well, even with FFS2, it will fly on the Sam! Last edited by elwood on 19-Apr-2007 at 08:30 PM.
_________________ Philippe 'Elwood' Ferrucci Sam460 1.10 Ghz AmigaOS 4 betatester Amiga Translator Organisation |
|
Status: Offline |
|
|
Samwel
|  |
Re: FFS VS SFS speed test OS4 Posted on 19-Apr-2007 22:34:56
| | [ #8 ] |
|
|
 |
Elite Member  |
Joined: 7-Apr-2004 Posts: 3404
From: Sweden | | |
|
| @Mopemen
128 seconds for two 300MB files???? Damn slow! A PC with Windows would probably do it in less than 15 seconds, not more than 20 seconds anyway.
_________________ /Harry
[SOLD] µA1-C - 750GX 800MHz - 512MB - Antec Aria case
Avatar by HNL_DK! |
|
Status: Offline |
|
|
Hans
|  |
Re: FFS VS SFS speed test OS4 Posted on 19-Apr-2007 22:53:43
| | [ #9 ] |
|
|
 |
Elite Member  |
Joined: 27-Dec-2003 Posts: 5123
From: New Zealand | | |
|
| @Samwel
I just tried copying a ~560 MB file from one SFS partition to another and it took 75 s. A ~390 MB file on my laptop takes 35 s under winxp. That's ~7.5 MB/s under OS4 and ~11.1 MB/s under windows. My A1's hard-drive is set to UDMA 5 (100MB/s theoretical max). No idea what the IDE modes are for the drive in my laptop, probably UDMA 5 as well.
I wonder what's causing the lower performance, my CPU load is low during the copy so it isn't CPU load that's causing the difference. The IDE bus speed isn't the only limiting factor, the drive's write speed matters too. Once again, I have no idea what the specs of both drives are. Maybe it would be faster if the size of the blocks being transferred were increased to reduce the amount of times that the disk head has to move from one cylinder to another.
@mopemen Assuming that you're using Amiga OS4 you might want to check your IDE settings using the UBoot prefs editor, or IDEtool.
Hans
Last edited by Hans on 19-Apr-2007 at 10:54 PM.
_________________ Join the Kea Campus - upgrade your skills; support my work; enjoy the Amiga corner. https://keasigmadelta.com/ - see more of my work |
|
Status: Offline |
|
|
Samwel
|  |
Re: FFS VS SFS speed test OS4 Posted on 19-Apr-2007 22:57:52
| | [ #10 ] |
|
|
 |
Elite Member  |
Joined: 7-Apr-2004 Posts: 3404
From: Sweden | | |
|
| @Hans
You compare a slow 5400rpm 2.5" harddrive of a laptop to a 7500rpm 3.5" harddrive of a desktop Amiga. That's not fair. Do the test again with a desktop PC. 
_________________ /Harry
[SOLD] µA1-C - 750GX 800MHz - 512MB - Antec Aria case
Avatar by HNL_DK! |
|
Status: Offline |
|
|
Rit
|  |
Re: FFS VS SFS speed test OS4 Posted on 20-Apr-2007 0:48:10
| | [ #11 ] |
|
|
 |
Regular Member  |
Joined: 26-Oct-2005 Posts: 138
From: Unknown | | |
|
| @Mopemen
You also need to take into consideration where the data your copying is physically on the disk as well, as hard disks vary in speed between the middle and the edge of the disk. The 7200rpm SATA disk in my computer varies between 53MB/s and 29MB/s because of this. |
|
Status: Offline |
|
|
Hans
|  |
Re: FFS VS SFS speed test OS4 Posted on 20-Apr-2007 1:15:27
| | [ #12 ] |
|
|
 |
Elite Member  |
Joined: 27-Dec-2003 Posts: 5123
From: New Zealand | | |
|
| @Samwel
Quote:
Samwel wrote: @Hans
You compare a slow 5400rpm 2.5" harddrive of a laptop to a 7500rpm 3.5" harddrive of a desktop Amiga. That's not fair. Do the test again with a desktop PC. 
|
Actually I doubt that the hard-drive in my A1 is a 7500 rpm drive. Regardless, I don't have a desktop PC to perform the same test on. One PC is enough for me. 
Another interesting test to perform would be transferring large files between two separate hard-drives. Sadly, I don't have two hard-drives in my Amiga (or laptop of course) to do this.
Hans
Last edited by Hans on 20-Apr-2007 at 01:20 AM.
_________________ Join the Kea Campus - upgrade your skills; support my work; enjoy the Amiga corner. https://keasigmadelta.com/ - see more of my work |
|
Status: Offline |
|
|
Zardoz
 |  |
Re: FFS VS SFS speed test OS4 Posted on 20-Apr-2007 2:46:12
| | [ #13 ] |
|
|
 |
Team Member  |
Joined: 13-Mar-2003 Posts: 4261
From: Unknown | | |
|
| @Rit
Moreover, two other factors are even more significant, for the same reason: 1) Fragmentation, as if basically changes your file copies from sequential reads/writes to random access. 2) Copying from the same drive, which makes the system read until it fills the buffer, seek to the target and write until it fills the buffer, again making the the read/writes pretty much "random" access. _________________
|
|
Status: Offline |
|
|
sundown
 |  |
Re: FFS VS SFS speed test OS4 Posted on 20-Apr-2007 2:51:27
| | [ #14 ] |
|
|
 |
Elite Member  |
Joined: 30-Aug-2003 Posts: 5120
From: Right here... | | |
|
| @All
I have 2 PATA drives in my micro using the onboard IDE controller. Each is set at UDMA5 & all partitions are SFS. The block size 512, buffers 500, maxtransfer maximum (FFFFFFF), mask anymemory (7FFFFFFF).
A 700MB file took 56 seconds to copy from 1 partition to another on the same drive & the same amount of time to copy to the other drive. This comes out to about 25MB/sec.
I did notice, with very large files, a 1000 buffer shaved a couple of seconds off the transfer time. Increasing the block size doesn't help & could slow transfer times down. Last edited by sundown on 20-Apr-2007 at 02:58 AM.
_________________ Hate tends to make you look stupid... |
|
Status: Offline |
|
|
Deniil715
 |  |
Re: FFS VS SFS speed test OS4 Posted on 20-Apr-2007 7:12:59
| | [ #15 ] |
|
|
 |
Elite Member  |
Joined: 14-May-2003 Posts: 4238
From: Sweden | | |
|
| @Micam
There are other not mentioned features of SFS: - If you overwrite, or delete a file, you can always get back the previous/deleted file(s!) by entering the ".recycled" directory on the root of the partition in question.
Sometimes I have accidently deleted, and I frequently overwrite a file by the wrong contents, but on the FFS partition I need to go to h*ll and back to get my lost file back. On SFS I just enter .recycled and pick it back. I can go back many many versions depending on your settings and how full the partition is. PFS has the same feature. There the hidden directory is called ".deleted" IIRC.
- SFS is also faster because it doesn't move the HD head so much. This reduces noise and prolonges the life of the disk. It also aimes at creating as little framentation as possible. _________________ - Don't get fooled by my avatar, I'm not like that (anymore, mostly... maybe only sometimes)  > Amiga Classic and OS4 developer for OnyxSoft. |
|
Status: Offline |
|
|
Condor
|  |
Re: FFS VS SFS speed test OS4 Posted on 20-Apr-2007 7:38:14
| | [ #16 ] |
|
|
 |
Regular Member  |
Joined: 28-Feb-2004 Posts: 191
From: Zagreb, Croatia | | |
|
| @Mopemen
Nice Avatar. _________________ Amiga_Os3-Os4-Mos User!!!  |
|
Status: Offline |
|
|
Mopemen
 |  |
Re: FFS VS SFS speed test OS4 Posted on 20-Apr-2007 8:04:08
| | [ #17 ] |
|
|
 |
Regular Member  |
Joined: 7-Feb-2005 Posts: 147
From: The Netherlands | | |
|
| @elwood
Quote:
You had the same amout of buffers on both partitions? |
Ehm... I think so... I'll check it when I'm home. I didn't checked the buffer size on the SFS or FFS partitions. I don't know about the default buffer size or the recommended size. When I installed OS4 for the first time, I used the install-guide on www.os4.co.uk. The mentioned buffer size in this guide is 100. Is this too small?
What is the recommended buffer setting on a SFS partition?
Maurice
Edit: All the partitions had 600 buffers.Last edited by Mopemen on 20-Apr-2007 at 03:24 PM.
_________________ µA1c OS4.1 (with a dead powersupply (powersupplied)) A500 |
|
Status: Offline |
|
|
Mopemen
 |  |
Re: FFS VS SFS speed test OS4 Posted on 20-Apr-2007 8:22:28
| | [ #18 ] |
|
|
 |
Regular Member  |
Joined: 7-Feb-2005 Posts: 147
From: The Netherlands | | |
|
| @Samwel
Quote:
128 seconds for two 300MB files???? Damn slow! |
Yes, I agree but it is quite faster than a FFS copy. Maybe a bigger buffer will speed things up.
@sundown
Quote:
... a 1000 buffer shaved a couple of seconds off the transfer time. |
The bigger the better? Or is a very big buffer not advisable?
_________________ µA1c OS4.1 (with a dead powersupply (powersupplied)) A500 |
|
Status: Offline |
|
|
Mopemen
 |  |
Re: FFS VS SFS speed test OS4 Posted on 20-Apr-2007 8:32:30
| | [ #19 ] |
|
|
 |
Regular Member  |
Joined: 7-Feb-2005 Posts: 147
From: The Netherlands | | |
|
| @Condor
Quote:
Thanks! I was browsing on IMDB when I saw the image of the movie 'Grim Reaper'. I had to use it as an avatar._________________ µA1c OS4.1 (with a dead powersupply (powersupplied)) A500 |
|
Status: Offline |
|
|
broadblues
 |  |
Re: FFS VS SFS speed test OS4 Posted on 20-Apr-2007 9:35:54
| | [ #20 ] |
|
|
 |
Amiga Developer Team  |
Joined: 20-Jul-2004 Posts: 4449
From: Portsmouth England | | |
|
| @Deniil715
Quote:
- If you overwrite, or delete a file, you can always get back the previous/deleted file(s!) by entering the ".recycled" directory on the root of the partition in question.
Sometimes I have accidently deleted, and I frequently overwrite a file by the wrong contents, but on the FFS partition I need to go to h*ll and back to get my lost file back. On SFS I just enter .recycled and pick it back. I can go back many many versions depending on your settings and how full the partition is. PFS has the same feature. There the hidden directory is called ".deleted" IIRC.
|
Wow! I thought was a delayed April Fools for a second but I tried and it's true! I wonder what else I'll find if I actually read the manual!
_________________ BroadBlues On Blues BroadBlues On Amiga Walker Broad |
|
Status: Offline |
|
|