amiga.org
     
iconAll times are GMT -6. The time now is 09:20 AM. | Welcome to Forum, please register to access all of our features.

» Amiga.org » Amiga computer related discussion » Amiga Software Issues and Discussion » PFS3 status update

Amiga Software Issues and Discussion This forum exists for the discussion of the use, issues with, and fun brought about by classic and next generation Amiga software.

Reply
 
Thread Tools Display Modes
Old 04-21-2011, 03:56 AM   #1
Piru
' union select name,pwd--
Points: 30,457, Level: 100 Points: 30,457, Level: 100 Points: 30,457, Level: 100
Activity: 69% Activity: 69% Activity: 69%
 
Piru's Avatar
 
Join Date: Aug 2002
Location: Helsinki, Finland
Posts: 6,946
Default PFS3 status update

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:
  • replaced all assembler parts with C code
  • fixed several small bugs in the original code
  • ported the code to compile with GCC, while making sure the original SAS/C build works ok as well
  • ported the filesystem and the tools to MorphOS
  • removed all static data from the filesystem making it possible to include it in the MorphOS boot.img

To do:
  • add support for new MorphOS dospackets
  • add a resethandler to commit any pending changes to disk before reboot
  • testing all the new code and port, fixing any issues
  • fixing the remaining serious bugs (MakeAnodeBitmap superindex array out of bounds access, beta warning #1, softlink support, PFSDoctor zeropage hits)
  • possibly create a MUI GUI for PFSDoctor

Some links that might be of interest:

Last edited by Piru; 04-21-2011 at 04:41 AM..
Piru is offline   Reply With Quote
Old 04-21-2011, 04:23 AM   #2
SHADES
Technoid
Points: 9,859, Level: 66 Points: 9,859, Level: 66 Points: 9,859, Level: 66
Activity: 4% Activity: 4% Activity: 4%
 
Join Date: Apr 2002
Posts: 349
Default Re: PFS3 status update

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!
__________________
It\'s not the question, that is the problem, it is the problem, that is the question.

Last edited by SHADES; 04-21-2011 at 04:27 AM.. Reason: add more info
SHADES is offline   Reply With Quote
Old 04-21-2011, 04:28 AM   #3
Piru
' union select name,pwd--
Points: 30,457, Level: 100 Points: 30,457, Level: 100 Points: 30,457, Level: 100
Activity: 69% Activity: 69% Activity: 69%
 
Piru's Avatar
 
Join Date: Aug 2002
Location: Helsinki, Finland
Posts: 6,946
Default Re: PFS3 status update

Quote:
Originally Posted by SHADES View Post
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.
Piru is offline   Reply With Quote
Old 04-21-2011, 04:39 AM   #4
mfilos
Cult Member
Points: 7,318, Level: 56 Points: 7,318, Level: 56 Points: 7,318, Level: 56
Activity: 18% Activity: 18% Activity: 18%
 
mfilos's Avatar
 
Join Date: Aug 2005
Location: Athens/Greece
Posts: 615
Blog Entries: 1
Default Re: PFS3 status update

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).
__________________
Visit my Amiga blog here
- A4000D: 060@50/604@180, 384MB, ACard+80GB HD, SCSI Multicard Reader, DVD-RW, Grex4000 (RTG/Sound/NIC), Indivision 4000, RTG/AGA AutoSwitch, Deneb, ZorRAM
- A600: 030@37.5, 64MB, A604, 16GB CF, Indivision ECS, Subway, MAS-Player (internal), Custom Audio Mixer
mfilos is offline   Reply With Quote
Old 04-21-2011, 04:55 AM   #5
Piru
' union select name,pwd--
Points: 30,457, Level: 100 Points: 30,457, Level: 100 Points: 30,457, Level: 100
Activity: 69% Activity: 69% Activity: 69%
 
Piru's Avatar
 
Join Date: Aug 2002
Location: Helsinki, Finland
Posts: 6,946
Default Re: PFS3 status update

Quote:
Originally Posted by mfilos View Post
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.

Last edited by Piru; 04-21-2011 at 05:04 AM..
Piru is offline   Reply With Quote
Old 04-21-2011, 05:09 AM   #6
nicholas
Guru Meditator
Points: 16,236, Level: 81 Points: 16,236, Level: 81 Points: 16,236, Level: 81
Activity: 99% Activity: 99% Activity: 99%
 
nicholas's Avatar
 
Join Date: Feb 2003
Location: Englistan
Posts: 6,829
Default Re: PFS3 status update

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?
__________________
http://www.commodore.gen.tr/forum/in...38089#msg38089
http://sf.net/projects/amithlon/files/

“Socialism" is no more an evil word than "Christianity." Socialism no more prescribed Joseph Stalin and his secret police and shuttered churches than Christianity prescribed the Spanish Inquisition. Christianity and socialism alike, in fact, prescribe a society dedicated to the proposition that all men, women, and children are created equal and shall not starve.” - Kurt Vonnegut
nicholas is offline   Reply With Quote
Old 04-21-2011, 06:34 AM   #7
Piru
' union select name,pwd--
Points: 30,457, Level: 100 Points: 30,457, Level: 100 Points: 30,457, Level: 100
Activity: 69% Activity: 69% Activity: 69%
 
Piru's Avatar
 
Join Date: Aug 2002
Location: Helsinki, Finland
Posts: 6,946
Default Re: PFS3 status update

Quote:
Originally Posted by nicholas View Post
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.
Piru is offline   Reply With Quote
Old 04-21-2011, 07:49 AM   #8
Gulliver
Defender of the Faith
Points: 13,359, Level: 75 Points: 13,359, Level: 75 Points: 13,359, Level: 75
Activity: 2% Activity: 2% Activity: 2%
 
Join Date: May 2007
Location: South of the south
Posts: 1,228
Blog Entries: 2
Default Re: PFS3 status update

@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!
Gulliver is offline   Reply With Quote
Old 04-21-2011, 08:31 AM   #9
psxphill
Defender of the Faith
Points: 5,126, Level: 45 Points: 5,126, Level: 45 Points: 5,126, Level: 45
Activity: 28% Activity: 28% Activity: 28%
 
Join Date: Aug 2009
Posts: 1,134
Default Re: PFS3 status update

Quote:
Originally Posted by Piru View Post
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.
psxphill is offline   Reply With Quote
Old 04-22-2011, 06:22 AM   #10
MichielP
Merely Curious
Points: 346, Level: 6 Points: 346, Level: 6 Points: 346, Level: 6
Activity: 6% Activity: 6% Activity: 6%
 
Join Date: Feb 2011
Posts: 14
Default Re: PFS3 status update

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
MichielP is offline   Reply With Quote
Old 04-22-2011, 07:13 AM   #11
Karlos
Sockologist
Points: 48,752, Level: 100 Points: 48,752, Level: 100 Points: 48,752, Level: 100
Activity: 8% Activity: 8% Activity: 8%
 
Karlos's Avatar
 
Join Date: Nov 2002
Location: I solve practical problems...
Posts: 16,606
Blog Entries: 18
Default Re: PFS3 status update

Quote:
Originally Posted by Piru View Post
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+.
__________________
OCA
This isn't SCSI... This is SATA!!!
I have CDO. It's like OCD except all the letters are in ascending order. The way they should be.
Core2 Quad Q9450 2.66GHz / X48T / 4GB DDR3 / nVidia GTX275 / Linux x64, AROS, Win64
A1XE 800MHz / 512MB / Radeon 9200 / OS4.1
A1200T BPPC 240MHz / 256MB / Permedia 2 / OS 3.1 - OS3.9, OS4
A1200T Apollo 1240 28MHz / 32MB / Mediator1200 / Voodoo 3000 / OS3.9
A1200D Apollo 1240 25MHz (ejector seat ROM edition) / 32MB
Karlos is offline   Reply With Quote
Old 04-22-2011, 07:16 AM   #12
Piru
' union select name,pwd--
Points: 30,457, Level: 100 Points: 30,457, Level: 100 Points: 30,457, Level: 100
Activity: 69% Activity: 69% Activity: 69%
 
Piru's Avatar
 
Join Date: Aug 2002
Location: Helsinki, Finland
Posts: 6,946
Default Re: PFS3 status update

Quote:
Originally Posted by MichielP View Post
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.
Piru is offline   Reply With Quote
Old 04-22-2011, 07:45 AM   #13
freqmax
Defender of the Faith
Points: 12,467, Level: 73 Points: 12,467, Level: 73 Points: 12,467, Level: 73
Activity: 49% Activity: 49% Activity: 49%
 
Join Date: Mar 2006
Posts: 1,798
Default Re: PFS3 status update

I hope the free PFS will be available for 68000 stock AmigaOS too.
freqmax is offline   Reply With Quote
Old 04-22-2011, 09:01 AM   #14
matt3k
Technoid
Points: 9,186, Level: 64 Points: 9,186, Level: 64 Points: 9,186, Level: 64
Activity: 10% Activity: 10% Activity: 10%
 
Join Date: Nov 2002
Posts: 385
Default Re: PFS3 status update

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
matt3k is offline   Reply With Quote
Old 04-22-2011, 10:26 AM   #15
Zac67
Kindred of Babble-on
Points: 12,421, Level: 72 Points: 12,421, Level: 72 Points: 12,421, Level: 72
Activity: 15% Activity: 15% Activity: 15%
 
Zac67's Avatar
 
Join Date: Nov 2004
Location: Erlangen, Germany
Posts: 2,851
Blog Entries: 4
Default Re: PFS3 status update

Good stuff - thx!!
Zac67 is offline   Reply With Quote
Reply

Bookmarks

Tags
status , update , morphos , pfs3

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump