27 November 2020, 21:01 | #1 |
Registered User
Join Date: Mar 2017
Location: Tallinn / Estonia
Posts: 74
|
Seek() and Read() performance and tuning
Hi,
There are certain things I've "known" for certain for example that Seek() on FFS is slow if you need to seek to the end of the large file. However, I don't really know if my assumptions are correct and before I start to do some testing on my own maybe someone knows answers to these questions for certain and can help me. In short, if I have an application that use dos.library Seek() and Read() a lot, what are the constraints I have to keep in mind. (working 2.0+ OS) Specifically I'm wondering about following cases.
Anyway, this might be me overthinking. If you have some insight please share. Thanks. |
28 November 2020, 09:09 | #2 | ||||
Registered User
Join Date: Jan 2019
Location: Germany
Posts: 3,215
|
Quote:
Quote:
In principle, FRead() of the dos.library could do that, but it is not a very smart implementation, thus is a lot slower (this will change with 3.2), and there is no obvious Seek() counterpart. Quote:
Quote:
No, that is all the same. Quite the reverse, a read by an entire block will pull this block from the device, a seek will just skip it. |
||||
28 November 2020, 13:18 | #3 |
Registered User
Join Date: Mar 2017
Location: Tallinn / Estonia
Posts: 74
|
Thanks, that makes sense
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Tuning AmiTCP / Easynet Pro | McTrinsic | support.Apps | 3 | 07 May 2018 22:00 |
Puzzle, ROM & Resident modules, performance tuning. | Michael | Coders. System | 10 | 14 September 2017 20:49 |
Amiga Hardware-Tuning (BookDisk) | drwhy | request.Other | 8 | 18 January 2017 18:16 |
Fine-tuning custom FPS, please? | aidenn | request.UAE Wishlist | 12 | 17 April 2010 20:35 |
Tuning A500 | Dave_wb | support.Hardware | 2 | 08 December 2006 14:56 |
|
|