Re: [Freedos-user] Minor performance anomaly / question re DIR command

2024-08-23 Thread Trevor Campbell via Freedos-user
Hi Eric, I don't think any of this applies in my case. I'm running FreeDOS on real ancient hardware, i.e. 8086 with 640K RAM. For my purposes, to play some ancient games with the grandkids on my old machines, the performance is exactly right. Regards Trevor Trevor Campbell mobile: 04032588

Re: [Freedos-user] Minor performance anomaly / question re DIR command

2024-08-23 Thread Eric Auer via Freedos-user
Hi! I put calls to FREESP, (https://github.com/ChartreuseK/FREESP) in my AUTOEXEC, (FDAUTO.BAT) and that worked well for me. FREESP C FREESP D Trevor Which settings for cache and read-ahead do you use? I think there is potential to fine-tune things :-) Also, how much RAM do you have and

Re: [Freedos-user] Minor performance anomaly / question re DIR command

2024-08-22 Thread Trevor Campbell via Freedos-user
I put calls to FREESP, (https://github.com/ChartreuseK/FREESP) , in my AUTOEXEC, (FDAUTO.BAT) and that worked well for me. FREESP C FREESP D Trevor On 23/8/24 11:35, Louis Santillan via Freedos-us

Re: [Freedos-user] Minor performance anomaly / question re DIR command

2024-08-22 Thread Louis Santillan via Freedos-user
I could test that theory on the Book8088 and EMM8088 XT machines I have. I might do that tonight. On Thu, Aug 22, 2024 at 2:24 PM Jim Hall via Freedos-user < freedos-user@lists.sourceforge.net> wrote: > On Wed, Aug 21, 2024 at 3:23 AM Rugxulo via Freedos-user > wrote: > >[..] > > Instead of rel

Re: [Freedos-user] Minor performance anomaly / question re DIR command

2024-08-22 Thread Jim Hall via Freedos-user
On Wed, Aug 21, 2024 at 3:23 AM Rugxulo via Freedos-user wrote: >[..] > Instead of relying on (or rebuilding) an entire shell, the simple code > for this could be isolated and run (or modified) independently. > Wouldn't the easy solution be to put this in your AUTOEXEC.BAT? DIR C: > NUL: Then

Re: [Freedos-user] Minor performance anomaly/ question re DIR command

2024-08-22 Thread tom ehlert via Freedos-user
> But DIV is slow enough (or irrelevant?) that many RISC cpus don't > include a hardware DIV instruction. So it is an actual slowdown that > is, in many cases, not strictly needed. Right? Beside the fact that this discussion abou DIV is completely irrelevant to the " Minor performance anomaly "

Re: [Freedos-user] Minor performance anomaly / question re DIR command

2024-08-21 Thread Rugxulo via Freedos-user
Hi, On Wed, Aug 21, 2024 at 2:17 PM Eric Auer via Freedos-user wrote: > > but you also have to keep track of whether the values > are up to data. Win9x does that by forcing you to > explicitly shut down instead of powering off. Each > time you fail to do that, it has to read the entire > FAT on t

Re: [Freedos-user] Minor performance anomaly / question re DIR command

2024-08-21 Thread Eric Auer via Freedos-user
Hi Rugxulo, as you already found out, FAT16 is limited to 64k files per partition and 128 kB (usually 256 sectors) per FAT. Only rather small FAT16 drives use far less than 64k clusters. Most drive sizes differ mainly in how large clusters are. With the usual side-effects. FAT32 usually has w

Re: [Freedos-user] Minor performance anomaly / question re DIR command

2024-08-21 Thread Rugxulo via Freedos-user
Hi, On Mon, Aug 19, 2024 at 3:00 PM tom ehlert via Freedos-user wrote: > > > In particular, if you say it takes 30 secs., I would blindly hope a > > partition half that size would take only half as long to calculate. > Unlikely as the size of the FAT remains exactly the same. A FAT16 partition o

Re: [Freedos-user] Minor performance anomaly / question re DIR command

2024-08-19 Thread Eric Auer via Freedos-user
Hi Tom, Rugxulo et al, To comment on the underlying performance bottleneck: For FAT32 drives, the FAT itself is huge. Which means it takes time to process it, for example to find out how many clusters are free. It actually comes with a filesystem info sector with places where you can store tha

Re: [Freedos-user] Minor performance anomaly / question re DIR command

2024-08-19 Thread tom ehlert via Freedos-user
>> > After boot the first time I run a `DIR` command e.g. >> > The directory list returns quickly, but the number of bytes free takes >> > another 30 seconds to appear. >> > Subsequent `DIR` commands return immediately whether in the same directory >> > or elsewhere. > In particular, if you say

Re: [Freedos-user] Minor performance anomaly / question re DIR command

2024-08-18 Thread Rugxulo via Freedos-user
Hi, On Wed, Aug 14, 2024 at 5:46 AM tom ehlert via Freedos-user wrote: > > Hallo Herr Trevor Campbell via Freedos-user, > > am Mittwoch, 14. August 2024 um 01:10 schrieben Sie: > > > I have Freedos installed on 8086 hardware using an SD Card with a 1Gb > > FAT-16 partition. > (I have so far been

Re: [Freedos-user] Minor performance anomaly / question re DIR command

2024-08-14 Thread Lukas Kotek via Freedos-user
Thank you for the clarification of one mystery! I hit the same behaviour on my Pocket 386 laptop. (At the end, I resolved that by switching to FAT16. I use 2 GB CF card with Pocket 386, so I could do that.) Best regards, Lukas dne st, 14 srp 2024 11:54:39 +0200, tom ehlert via Freedos-u

Re: [Freedos-user] Minor performance anomaly / question re DIR command

2024-08-14 Thread tom ehlert via Freedos-user
Hallo Herr Trevor Campbell via Freedos-user, am Mittwoch, 14. August 2024 um 01:10 schrieben Sie: > I have Freedos installed on 8086 hardware using an SD Card with a 1Gb FAT-16 > partition. (I have so far been unable to get a FAT-32 partition to work) > After boot the first time I run a `DIR` c

Re: [Freedos-user] Minor performance anomaly / question re DIR command

2024-08-13 Thread Trevor Campbell via Freedos-user
Wow that worked like a charm. Couldn't the Freedos Kernel be updated to work that way? [Outside my skill set] Should I raise a bug / enhancement request? Trevor On 14/8/24 09:52, Louis Santillan wrote: This is a known perf issue with older machines. For FAT16 (which 1GB should fit in), ther

Re: [Freedos-user] Minor performance anomaly / question re DIR command

2024-08-13 Thread Louis Santillan via Freedos-user
This is a known perf issue with older machines. For FAT16 (which 1GB should fit in), there's FREESP (https://github.com/ChartreuseK/FREESP). You may want to give that a try. On Tue, Aug 13, 2024 at 4:11 PM Trevor Campbell via Freedos-user < freedos-user@lists.sourceforge.net> wrote: > I have Fre

[Freedos-user] Minor performance anomaly / question re DIR command

2024-08-13 Thread Trevor Campbell via Freedos-user
I have Freedos installed on 8086 hardware using an SD Card with a 1Gb FAT-16 partition. (I have so far been unable to get a FAT-32 partition to work) After boot the first time I run a `DIR` command e.g. ``` C:\>dir ``` The directory list returns quickly, but the number of bytes free takes