03 September 2011, 10:16 | #1 |
Posts: n/a
|
Deleting files!
Hi!
I own an Amiga 1200 with 060 card. I havent been using my Amiga since late 90s and now I am trying to get it back on track again. It works very well, but I do have some problems with the harddrive and deleteing files. I am using a 12gb 2,5" standard HD with buffered 4-IDEfix express adapter. It works very well with SFS. It reads and writes files nice and fast, but when it comes to deleting it takes ages before a file is deleted. I have tried to lower maxtransfer (from 0x1fffe to 0xfffe) but that didnt help a lot! Values from Syspeed: Create 167 (Op/s) Open 274 Dirscan 1372 Delete 2 (it takes ages before value is displayed) Seek/Reed 201 CreateFile 2.85 (mb/s) Writefile 3.19 Readfile 2.95 Rawread 3.01 Any .. ideas? |
03 September 2011, 12:29 | #2 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,304
|
What says SFScheck/SFSquery? Is your disk/partition full? Do you use ".recycled" directory? If yes, delete it. Maybe that help. How many DOS buffers? Other cache settings?
About your sysspeed values I guess they should be overall higher. |
03 September 2011, 18:16 | #3 |
Posts: n/a
|
Thanks! Found a cure! Buffert-size was too low (about 50). I tried 1024, and I got a very nice result.
512 worked very well also. 256 is my current setting as 128 gave lower results in sysspeed.. Edit: New results from Sysspeed: Create 209 Open 346 Dirscan 1427 Delete 143 Seek/Read 682 CreateFile 3.20 WriteFile 3.26 ReadFile 3.01 RawRead 3.02 Last edited by Ech0; 03 September 2011 at 18:25. |
03 September 2011, 21:41 | #4 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,604
|
Don't think you need 1234563123 buffers to fix slow deletes for a benchmark program. If so, SFS is crap (No, I know it's excellent. Don't worry.)
No trouble deleting files quickly on my DH1 with FFS, 11(!) buffers. Have you typed 'Info' in shell and is DH0: 'validating'? Could be a SysSpeed/SFS thing? I think I need to patch that [Edit: SysSpeed] somehow to run on my Apollo 1260. I know some people hate non-problem-solving responses (after all, there could be some problem with your mobo but I heavily doubt it), but I always recommend to everyone to replace harddisks with CF card+IDE adapter. It will cost you something like 300-400 SEK total and the benefit speed+absolute silence. 2GB Sandisk Extreme III is excellent and cheap. Last edited by Photon; 03 September 2011 at 23:40. |
03 September 2011, 23:11 | #5 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,304
|
If you have enough RAM to wast you can add 1000-5000 buffers (depands on amound of files on partition). You should compare your values with other (equal) systems to be sure that it was only a buffers issue.
|
04 September 2011, 13:12 | #6 | |
Posts: n/a
|
Quote:
Specs: Amiga 1200 B1260@50mhz REV 1b with 64 mb RAM. Kick3.1 / WB3.1 2,5" old IBM-harddrive 2,5" 4200 rpm ATA-66 connected to IDEfix Express |
|
04 September 2011, 13:24 | #7 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,000
|
You shouldn't need more than 100 buffers for partitions less than one gb and perhaps 200 - 400 buffers for larger partitions.
Each buffer needs as much space as one file system block (Windows calls it a cluster), usually 512 or 1024 bytes. So with 5000 buffers, you might waste 5 MB of memory. For FFS it's true, the more buffers the faster. But more than 1000 buffers are not needed for it, either. |
04 September 2011, 14:19 | #8 | |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,304
|
About buffers using SFS I just quote from SFS mailinglist (answer is from Jörg). It should help using the right values:
Quote:
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Deleting keys from the database | jbl007 | support.FS-UAE | 2 | 23 August 2013 17:42 |
Listing files, loading files and allocating all available chip ram. | h0ffman | Coders. System | 16 | 04 April 2013 21:24 |
Deleting RAD Drive | Daniel Cordell | project.ClassicWB | 8 | 05 September 2011 21:00 |
Deleting previous screen settings | fc.studio | support.Apps | 2 | 10 August 2007 20:44 |
Deleting Items using Delete Key? | Mag1c1an | New to Emulation or Amiga scene | 1 | 07 July 2006 07:37 |
|
|