17 January 2019, 19:37 | #41 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
IDE controller: Impossible (for filesystem alone) because normal driver API does not have any support for sending raw IDE commands to the drive. (EDIT: updated driver would be needed that supports trim via SCSI Direct and can translate it to correct raw IDE command)
SCSI controller: SCSI direct can be used but it would also require SCSI to IDE/SD/whatever adapter that also supports trim. (I don't know if any do) EDIT: Filesystem support (and ignoring driver problems): It should be possible (but really needs full understanding of filesystem logic to implement it properly) but I am still not sure if it is that useful, amount of writes is relatively slow in normal Amiga use. It would also make use of recovery programs impossible. Last edited by Toni Wilen; 17 January 2019 at 19:43. |
17 January 2019, 20:34 | #42 | |||
Registered User
|
Quote:
Quote:
Quote:
On deleting files, send the freed blocks to the TRIM handler. I at first thought it could be added in the sense how 64-bit sector addressing was introduced to support drives > 4G. Ideally, a line "EnableTRIM = 1" in a mountlist could be honored, like "discard" mount option on Linux operating systems in order to force TRIMming... But: You are right, writes are extremely rare compared to typical modern OS'es. In that sense, implementing TRIM is more a micro-optimization than a real requirement. |
|||
17 January 2019, 22:29 | #43 |
BoingBagged
Join Date: Aug 2007
Location: The South of nowhere
Age: 46
Posts: 2,358
|
The only way I see TRIM practical for the Amiga is that someone develops in the future some smart hardware interface be it SATA/IDE/SCSI or whatever, that takes care of the wear leveling issue by itself and hides it from the OS.
But then as said before writes are not that frecuent on an Amiga, and developing such hardware may probably be more expensive and time consuming than just replacing your storage media. Maybe connecting a raspberry pi to an Amiga using its GPIO pins and using some networking filesystem might do the trick, and be affordable enough at the same time. Yet, it remains to be seen. My advice for a safe and long amiga journey, regardless the type of media, is to back up twice a year, and change storage media for newer ones each 10 years. That said, you should back up more often if you use it fequently for content creation, but that is certainly not the case for most users, that only customize their workbench and play whdload games. |
17 January 2019, 23:32 | #44 | |
Registered User
Join Date: Aug 2015
Location: Emerald City
Posts: 95
|
Quote:
|
|
22 January 2019, 17:24 | #45 | ||
Registered User
|
Quote:
Basically, we need something like a tool which is capable of sending TRIM commands with the contents of every unused block by the filesystem. Maybe it can be handled like TD64/NSD was added to the Amiga. We should just ensure that no one already has declared a definition for TRIM command (OS4.x+ devs maybe or AROS could have be something already regarding to it) in order to avoid two or more concurrent definitions. Quote:
EDIT: Has someone ported FUSE to Amiga? If yes, a lot of alternative file systems could be easily usable on Amiga (including NTFS, EXFAT and even ZFS could be possible). Last edited by BastyCDGS; 22 January 2019 at 17:31. Reason: Ask about FUSE port && Deliver sources |
||
25 April 2020, 10:03 | #46 |
Registered User
Join Date: Oct 2007
Location: Toronto, Canada
Posts: 1,593
|
I've got a 25 GB partition on a DOM (disk on module) in my A4000 I would like to use PFS3AIO on and was wondering what block size and buffers to put in HDToolBox parameters?
|
25 April 2020, 13:02 | #47 |
Registered User
Join Date: Oct 2013
Location: England
Posts: 419
|
The standard (default) settings should suffice in most cases.
|
25 April 2020, 19:01 | #48 |
Registered User
Join Date: Oct 2007
Location: Toronto, Canada
Posts: 1,593
|
when adding PFSaio to OS3.1.4 HDToolBox a requester pops up asking with following 'default values'
Enter DataType for File System:0x444FS5303 Enter version: 19 enter revision: 2 when hitting ok it says file system already exists...it appears default setting for this screen is same as FFS ? quick Yahoo search and I see figure should 0x50465303 but would love to have this confirmed as I want to get this right the 1st time and not go through deleting/ reformatting stuff afterwards...same goes with block size/ buffers |
25 April 2020, 19:19 | #49 |
BoingBagged
Join Date: Aug 2007
Location: The South of nowhere
Age: 46
Posts: 2,358
|
DosTypes:
0x50445303 PDS3 Professional File System AIO 0x444F5303 DOS3 International Mode FFS 0x444F5307 DOS7 Long Filename FFS If it is flash media you are using I would suggest a block size of 4096. As for buffers it depends a lot. Better ask Toni about that. But I am sure he set a safe number as default. |
25 April 2020, 19:37 | #50 |
Registered User
Join Date: Oct 2007
Location: Toronto, Canada
Posts: 1,593
|
@ gulliver
thanks for the info on 2nd screen now and should I keep Mask default 0x7FFFFFFE & Max Transfer 0XFFFFFF ?? for buffers I can wait since you can change that any time I believe without losing any info on partition |
25 April 2020, 19:53 | #51 | |
Registered User
Join Date: Apr 2016
Location: Catania
Posts: 85
|
Quote:
Personally for my CF (4GB and 8GB too) i have to set Max Transfer parameter to 0x1FE00, else whdload games copied inside there expecially on a real Amiga, won't work (read/write error messages or similar), so you could leave default value, make a quick try copying and running some whdload stuff and if you have issues change this parameter. Last edited by Leander; 25 April 2020 at 20:56. |
|
25 April 2020, 19:56 | #52 |
Registered User
Join Date: Apr 2016
Location: Catania
Posts: 85
|
On a side note, if like i suppose you use HDInstTools for partitions (and I also believe HDToolBox) and you change the Max Transfer you should not lose the content of the partition, even if both programs being saved warn you that any change will result in data loss
So if you have issue with default parameter and then change the Max Transfer after copying the data you should not lose them, but for safety I tell you to copy a few, do all tests you need, see what happens and then take your decision |
25 April 2020, 20:12 | #53 |
Registered User
Join Date: Oct 2007
Location: Toronto, Canada
Posts: 1,593
|
@ Leander
great advice and makes sense & yes it's real Amiga 4000 and real HD |
25 April 2020, 20:56 | #54 |
Registered User
Join Date: Apr 2016
Location: Catania
Posts: 85
|
|
26 April 2020, 12:47 | #55 |
Registered User
Join Date: Jan 2020
Location: oslo/norway
Posts: 1,607
|
I see some strange advice here. Why are people recommending FFS? It is nothing close to SFS or PFS3. <br /><br />
The great thing about PFS3 is that it work with with any Amiga while SFS require at least 020.<br /><br /> FFS have the known forever validation error on real Amigas, is very slow and not reliable.<br /><br /> I would never use FFS for my system partition. That is the partition you should not use it.<br /><br /> PFS3 I never had a single problem with. That is using my Amiga almost every day.<br /> <br /> Installing PFS3 on real amiga boot from Amiga911.adf I can put it in the zone if you like. I have used it for my A1200 and A600 without problems. I have 3 partitions. System partition is around 4GB and other partitions are 7GB and 3GB. OS is 3.1 Last edited by nikosidis; 26 April 2020 at 12:55. |
26 April 2020, 13:08 | #56 | |
Registered User
Join Date: Oct 2013
Location: England
Posts: 419
|
Quote:
|
|
30 April 2020, 06:46 | #57 |
Registered User
Join Date: Oct 2007
Location: Toronto, Canada
Posts: 1,593
|
thanks for the help guys..it seems my 25GB partition is working fine but did notice when creating a new folder in DOpus that a popup occasionally appears saying' An error occurred adding an icon to "name of folder" DOS error code 217-Too many levels"..I just hit skip the few times it happened and everything seems ok but to be sure I ran PFSDoctor and it took a very loooong time searching for an index block and right now as I'm typing this it finally started to slowly start "Building indexblock"...so fingers crossed this might take am few hours ....
wondering if this happened because I formatted the partition under OS3.1.4 as I didn't know about PFSDoctor and PFSformat before? |
30 April 2020, 17:26 | #58 | |||
Registered User
Join Date: Jan 2019
Location: Germany
Posts: 3,214
|
Quote:
Quote:
Only with 3.1.4, the two other file systems (crossdos and cdfs) became fully multithreaded and thus won't slow you down either by waiting for I/O. A typical case where that matters if one application reads/writes a file, and at the same time you open a workbench window. With a single-threaded system, you would have to wait until the read/write operation is over to allow workbench to react. With FFS (and the new file systems), workbench can serve the icon data in parallel if it is in cache. Quote:
Thus said, I'm not trying to tell you that FFS is modern, has a great design and the best file system ever created. Certainly not. But it is neither as bad as you try to make it. It is working, well supported, comes with a recovery tool, and is the file system that defines the standard on the Amiga. Probably on a low level, but still - it works. |
|||
30 April 2020, 17:57 | #59 | |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
Quote:
However there is also seeking in large files. Painfully slow. You can offset it with large buffers, but nevertheless. |
|
30 April 2020, 18:02 | #60 |
Registered User
Join Date: Jan 2011
Location: -
Posts: 728
|
Is it possible to download the latest incarnation of FFS from Aminet (or elsewhere) or is it bundled with Workbench?
I would love to be able to use an updated FFS on older machines (WB 3.0 and below) that either don't match WB 3.1.4 specs or I don't want to update to 3.1.4. The great thing about PFS is it's free and easily installable on all specs. Would love this to be the case with FFS! |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OFS/FFS/SFS/PFS Editor Dialog | Leandro Jardim | request.UAE Wishlist | 2 | 25 January 2014 09:16 |
FFS and SFS | amigappc | project.ClassicWB | 8 | 07 January 2011 12:21 |
Which is better SFS or PFS | source | support.Apps | 23 | 19 August 2010 18:00 |
Filesystem overhead of FFS | rare_j | support.Other | 2 | 16 March 2009 19:00 |
pfs or sfs | oldpx | support.Apps | 14 | 07 March 2003 23:33 |
|
|