Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: Piru on April 21, 2011, 10:56:33 AM

Title: PFS3 status update
Post by: Piru on April 21, 2011, 10:56:33 AM
I've been working on PFS3 by using a cross compiler on AMD64 linux box. This has prevented me from testing much of the changes so far, but I will do that shortly when I'll have access to my MorphOS box again.

So far I've:

To do:

Some links that might be of interest:
Title: Re: PFS3 status update
Post by: SHADES on April 21, 2011, 11:23:57 AM
you've got to be kidding? the Perfect File System 3 code? you ported it?
i tried many many times to contact the author to get this released to public over many many years!!
i thought it was closed source, i.e. proprietary, paid for software.
i always used this file system, was so much faster and more reliable than ffs, tests i have done show it to be faster than sfs too.

Err, i'd love to see this file system back in development if you did manage to contact the author and get the code!
All i can say is wow. well done!
Title: Re: PFS3 status update
Post by: Piru on April 21, 2011, 11:28:35 AM
Quote from: SHADES;632760
you've got to be kidding? the Perfect File System 3 code? you ported it?
i thought it was closed source, i.e. proprietary, paid for software.
It became open source recently: See http://www.amiga.org/forums/showthread.php?t=52358
Quote
i always used this file system, was so much faster and more reliable than ffs, tests i have done show it to be faster than sfs too.
Indeed. It's far the best filesystem on amigoid systems. It has some small tiny issues I intend to fix though.

Quote
Err, i'd love to see this file system back in development if you did manage to contact the author and get the code!
All i can say is wow. well done!
Getting the code wasn't my doing (see the other thread for details) but now that the source code is available I intend to help as much as I can.
Title: Re: PFS3 status update
Post by: mfilos on April 21, 2011, 11:39:40 AM
Awesome news there Piru!!! I was expecting your contribution but wasn't expecting it so soon :)
Btw the SourceForge milestones are really great! I can't wait for the future releases \o/

Are you gonna include binaries for both 3.x and MorphOS platforms in the future releases? (I hope so).
Title: Re: PFS3 status update
Post by: Piru on April 21, 2011, 11:55:54 AM
Quote from: mfilos;632763
Are you gonna include binaries for both 3.x and MorphOS platforms in the future releases? (I hope so).
This hasn't been decided yet and needs some careful planning. A filesystem is such a critical component that some serious testing should be done before a new version is released. No such testing/release planning has been done yet.

My plan is to include the PFS3 is some future MorphOS release at least. The filesystem will be inside the boot.img, making it possible to use PFS3 easily with the supported Mac systems, too. Without being inside the boot.img you would be limited to systems with RDB support or to mounting via mountlists.

Also the current 68k version functions just fine with MorphOS already, and since the filesystem is translated by the Trance JIT is likely to be exactly as fast as the native version will be.

For now I've omitted committing the MorphOS Makefiles in the SVN. This is because I have been unable to test much my new code. I wouldn't want anyone to hose their data with a buggy filesystem. Once I've tested and bugfixed the code I'll add the Makefiles. At that stage anyone with the SDK installed can build the filesystem and play with it. Obviously even then I'd seriosly recommend only doing that with some spare partitions and avoid using the SVN version in production environments.
Title: Re: PFS3 status update
Post by: nicholas on April 21, 2011, 12:09:30 PM
Great work Piru, thanks! :)

What gcc arguments do you recommend to compile it with for fastest performance on a CS 060?

Just a simple -m68060 will suffice?
Title: Re: PFS3 status update
Post by: Piru on April 21, 2011, 01:34:57 PM
Quote from: nicholas;632771
What gcc arguments do you recommend to compile it with for fastest performance on a CS 060?

Just a simple -m68060 will suffice?

Last I played with 68k target gcc it was back in the 2.95 time. Back then gcc produced far worse code for 68k than SAS/C. I don't know if things has changed since, but in general -O2 with the flag specifying the CPU target (in this case -m68060) is usually the best choice. -O3 is worth trying as well, but usually it only leads to very minimal speed up with the expense of the binary bloating up. As always try couple of different optimization flag combinations and benchmark your code.
Title: Re: PFS3 status update
Post by: Gulliver on April 21, 2011, 02:49:05 PM
@Piru

Thank you for your support to further develop PFS3. I was checking the project SVN and Bugtracker on a daily basis, and I am pleased you are both working on it. I just hope some more developers join in!
Title: Re: PFS3 status update
Post by: psxphill on April 21, 2011, 03:31:33 PM
Quote from: Piru;632782
Last I played with 68k target gcc it was back in the 2.95 time. Back then gcc produced far worse code for 68k than SAS/C. I don't know if things has changed since, but in general -O2 with the flag specifying the CPU target (in this case -m68060) is usually the best choice.

I think the geekgadgets build I used was 2.95 and I found that building for 68000 with gcc was quicker than any sas/c build & any other gcc build. At the time gcc probably didn't know to avoid 020 stuff that was removed in later processors.
Title: Re: PFS3 status update
Post by: MichielP on April 22, 2011, 01:22:19 PM
Anyone experience with vbcc? Got a mail from Stefan Haubenthal who wants to make PFS compatible with it. The site http://sun.hasenbraten.de/vbcc/ claims pretty good performance.

Michiel
Title: Re: PFS3 status update
Post by: Karlos on April 22, 2011, 02:13:02 PM
Quote from: Piru;632782
Last I played with 68k target gcc it was back in the 2.95 time. Back then gcc produced far worse code for 68k than SAS/C. I don't know if things has changed since, but in general -O2 with the flag specifying the CPU target (in this case -m68060) is usually the best choice.


I don't think it ever got a lot better in later versions. Last time I checked, it wouldn't even output scaled indexed addressing modes on 020+.
Title: Re: PFS3 status update
Post by: Piru on April 22, 2011, 02:16:52 PM
Quote from: MichielP;633073
Anyone experience with vbcc? Got a mail from Stefan Haubenthal who wants to make PFS compatible with it.

I think my GCC fixes should go a long way fixing it for VBCC as well. I also made sure that the alignment patches (#pragma pack(2)) work with VBCC, too. No doubt there will be some things to fix with VBCC still.

I haven't used VBCC myself though.
Title: Re: PFS3 status update
Post by: freqmax on April 22, 2011, 02:45:56 PM
I hope the free PFS will be available for 68000 stock AmigaOS too.
Title: Re: PFS3 status update
Post by: matt3k on April 22, 2011, 04:01:11 PM
Thanks Piru,

Your support of MOS is a tremendous asset.  I love PFS for the Amiga and look forward to it being used in MOS.

Regards,

Matt
Title: Re: PFS3 status update
Post by: Zac67 on April 22, 2011, 05:26:22 PM
:hammer: Good stuff - thx!!
Title: Re: PFS3 status update
Post by: hardlink on April 22, 2011, 05:50:28 PM
Quote from: Piru;632751
I've been working on PFS3 ...
Some links that might be of interest:
  • SVN tree (http://pfs-amiga.svn.sourceforge.net/viewvc/pfs-amiga/)
Thanks, nice work!
I know it's geeky, but I just spent my lunch break browsing the code starting from the given link. I see there are old RCS tags in many files, such as 'boot.c'. Since it is under SVN(?) now, I assume those are obsolete, but I always found it helpful to include text descriptions of changes. Vewing the source using 'annotate' lets you view the changes, but is there a way to have that included in the file when downloaded?
Title: Re: PFS3 status update
Post by: Dwyloc on April 22, 2011, 10:39:49 PM
Quote from: freqmax;633088
I hope the free PFS will be available for 68000 stock AmigaOS too.

As a Minimig owner with the arm addon board for HD support I too would also like to see continued support for a basic 68000 CPU.

I would also like to see a support for using less buffers like FFS so it can be used on a 1.5MB Amiga such as a unexpanded minimig or my old A500 HD system which also has less than 2MB of RAM.  I know it will be slower with less buffers but it should still hopefully be faster than FFS.
Title: Re: PFS3 status update
Post by: MichielP on April 23, 2011, 05:26:24 PM
Quote from: hardlink;633116
Thanks, nice work!
I know it's geeky, but I just spent my lunch break browsing the code starting from the given link. I see there are old RCS tags in many files, such as 'boot.c'. Since it is under SVN(?) now, I assume those are obsolete, but I always found it helpful to include text descriptions of changes. Vewing the source using 'annotate' lets you view the changes, but is there a way to have that included in the file when downloaded?

When putting it on the sourceforge SVN I decided not to bother with even trying to convert the old RCS repository, but yes, I still do have it.

Michiel
Title: Re: PFS3 status update
Post by: Darrin on April 23, 2011, 05:34:34 PM
Well I have it up and running on my A4000 and it works like a dream.  I partitioned a 80GB drive as 2x40GB, copied the data off my old SFS drives and when I've finished backing up the data then I'll reformat the other drives as PFS.

Thanks very much.  :)

Note:  I had been getting some issues with my large partition SFS drives with regards to checksum errors.  I wasn't sure if it was the drives, SFS or my FastATA4000 combined with the Mediator, but so far everything is perfect.
Title: Re: PFS3 status update
Post by: Cosmos on April 23, 2011, 06:19:21 PM
@Michiel & @Piru

A friend of Michiel Pelt (PFS3 author) said to me few weeks ago that he found a bug :

'By the way... pfs3 progress is slow, we found a bug in it at the 4gb disksize threshold. We are working on it'


It's fixed ?
Title: Re: PFS3 status update
Post by: Piru on April 23, 2011, 06:44:39 PM
Quote from: Cosmos;633259
@Michiel & @Piru

A friend of Michiel Pelt (PFS3 author) said to me few weeks ago that he found a bug :

'By the way... pfs3 progress is slow, we found a bug in it at the 4gb disksize threshold. We are working on it'


It's fixed ?
Well, depends on if he talks about these bugs:
https://sourceforge.net/tracker/?func=detail&aid=3290333&group_id=532591&atid=2163215
https://sourceforge.net/tracker/?func=detail&aid=3291407&group_id=532591&atid=2163215

I don't know of any "4gb disksize threshold" bug, but these are the closest. They're related to large filesystem (needing superindex blocks) and not 4GB disksize limit, though.
Title: Re: PFS3 status update
Post by: SHADES on November 06, 2011, 12:35:35 PM
just wondering if there has been any progress made with partition sizes, AROS intergration etc. There is very little to be found on sourceforge
Title: Re: PFS3 status update
Post by: Bamiga2002 on July 11, 2012, 08:16:12 AM
Just went through the sourceforge pages and the last progress seems to be from 1.3.2012(?). Is there chances for fixed PFS3 to see daylight on 68k?
Title: Re: PFS3 status update
Post by: Dwyloc on July 11, 2012, 12:45:41 PM
@Bamiga2002 Have you tried the updated 68K version on aminet?  http://aminet.net/package/disk/misc/pfs3ks13
Title: Re: PFS3 status update
Post by: Bamiga2002 on July 11, 2012, 08:43:52 PM
No haven't tried it yet...but isn't it for kick 1.3 so would it work on kick 3.x anyway? Now I have the 18.5 version 060-optimized.
Title: Re: PFS3 status update
Post by: paul1981 on July 11, 2012, 08:59:23 PM
Quote from: Bamiga2002;699773
No haven't tried it yet...but isn't it for kick 1.3 so would it work on kick 3.x anyway? Now I have the 18.5 version 060-optimized.


It works on my my kickstart2 A600, so no reason why it wouldn't work on 3.0/3.1.
Title: Re: PFS3 status update
Post by: x303 on November 08, 2012, 12:09:41 AM
Quote from: Bamiga2002;699724
Just went through the sourceforge pages and the last progress seems to be from 1.3.2012(?). Is there chances for fixed PFS3 to see daylight on 68k?
I have build pfs3 from the latest svn. Needed some time for testing. I've just put some stuff in a package. Maybe I'll update it later in the week. Shame the progress class includes are nowhere to be found, so pfsdoctor can't be built.

:afro:
Title: Re: PFS3 status update
Post by: Bamiga2002 on November 08, 2012, 06:17:55 AM
Quote from: paul1981;699778
It works on my my kickstart2 A600, so no reason why it wouldn't work on 3.0/3.1.

I put the latest pfs3ks13 to me RDB replacing the original one and it's working so far :). But can I use PFSDoctor with this version?
Title: Re: PFS3 status update
Post by: SHADES on April 14, 2013, 12:30:19 AM
Is there a donate section for thos roject at all, I tried the links however, I could not get them to work :(
I really hope this hasn't stalled
Title: Re: PFS3 status update
Post by: mfilos on April 14, 2013, 04:35:22 PM
Not stalled at all.
Today Toni Willen, shared a new version of PFS3-AIO (All in one) that is also romable :)

http://eab.abime.net/showthread.php?t=66561
Title: Re: PFS3 status update
Post by: SHADES on April 16, 2013, 04:26:37 AM
So any news on larger disk partitions? Perhaps people are too busy working on it for a change log :-p
I'll just be happy it's still being developed although I'd be happy to donate for it.
Title: Re: PFS3 status update
Post by: Lurch on April 16, 2013, 09:17:11 AM
Only issue I've been having lately is that I have to warm boot for the PFS3 drives to be useable.

When I first turn the 1200 on from cold it says they're not initialized, warm boot they're fine.