Welcome, Guest. Please login or register.

Author Topic: Faster directory listing possible?  (Read 13716 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline nicholas

Re: Faster directory listing possible?
« on: June 15, 2013, 11:27:54 PM »
Installing matthey's CopyMem from Aminet will speed up your 060 machine a great deal too.
“Een rezhim-i eshghalgar-i Quds bayad az sahneh-i ruzgar mahv shaved.” - Imam Ayatollah Sayyed  Ruhollah Khomeini
 

Offline nicholas

Re: Faster directory listing possible?
« Reply #1 on: June 16, 2013, 12:26:21 AM »
Ooh, I wasn't aware you'd done a commodity.library too.  I'll have to grab myself a copy of that! :)

What's your opinion on the PatchFor020 tool on Aminet?  Is it worth running over all the executables on an 3.9 install? I have a CSMK2 060@50MHz.
“Een rezhim-i eshghalgar-i Quds bayad az sahneh-i ruzgar mahv shaved.” - Imam Ayatollah Sayyed  Ruhollah Khomeini
 

Offline nicholas

Re: Faster directory listing possible?
« Reply #2 on: June 16, 2013, 08:48:45 PM »
Quote from: paul1981;738021
I've always used Thomas Richter's PoolMem, and infact the whole MMU package of his.

+1 to that.  MMULib is a fantastic product.

I particularly have to reccomend the MuRedox tool.  Works much better than CyberPatcher does.

Executive is another mainstay of all my 3.x machines too.

http://aminet.net/package/util/misc/Executive
http://aminet.net/util/misc/Executive_key.lha
« Last Edit: June 16, 2013, 10:04:30 PM by nicholas »
“Een rezhim-i eshghalgar-i Quds bayad az sahneh-i ruzgar mahv shaved.” - Imam Ayatollah Sayyed  Ruhollah Khomeini
 

Offline nicholas

Re: Faster directory listing possible?
« Reply #3 on: June 16, 2013, 10:02:29 PM »
Quote from: matthey;737986
I haven't. I meant "my" unmodified commodity.library on "my" Amiga. Sorry for the confusion.



PatchFor020 works well most of the time but is limited in what it patches. It only patches compiler math functions to faster ones. It will patch with 64 bit integer instructions that are trapped on the 68060 making the code slower for the 68060! I've seen a bug in one of the patches where a signed multiply was used when an unsigned should have been. Most of the time this would not cause a problem but could completely fail in rare cases. Make a backup before you apply the patch and test the speed, output and for MuForce/Enforcer hits. There are a lot more 68020 optimizations that can be done than math routines although these offer some of the biggest gains and are big enough that finding and patching them is reasonably safe. Hand optimizing is slow and error prone but has the potential for a much greater speedup and memory savings. Sometimes 2x the speed and 1/2 the size is possible where the compiler wasn't very good.


Well just for kicks I ran PatchFor020 over itself and amusingly it patched a few operations. :)

Perhaps there will be a PatchFor060 one day? :)
“Een rezhim-i eshghalgar-i Quds bayad az sahneh-i ruzgar mahv shaved.” - Imam Ayatollah Sayyed  Ruhollah Khomeini
 

Offline nicholas

Re: Faster directory listing possible?
« Reply #4 on: June 16, 2013, 10:06:02 PM »
Would this patched scsi.device help for the OP?

http://eab.abime.net/coders-system/67067-open-source-scsi-device.html
“Een rezhim-i eshghalgar-i Quds bayad az sahneh-i ruzgar mahv shaved.” - Imam Ayatollah Sayyed  Ruhollah Khomeini
 

Offline nicholas

Re: Faster directory listing possible?
« Reply #5 on: June 16, 2013, 11:23:41 PM »
Quote from: matthey;738036
Don't do that! That's probably the code it's using to detect the slow code. If you patch it, it might not find what it's looking for to patch. There are some other types of critical code that should not be patched too. Patching some of the P96 libraries (and probably CGFX) for example will not work because there are a lot of exec/SetFunction() calls. You don't want to patch the 68060.library or SetPatch for obvious reasons also.


Ok, I was just playing around with it just to see how it worked.  Haven't used it on anything important yet.  I took a look at the code to try and understand it a bit more but my 68k assembly is as fluent as my Swahili. ;)


Quote
From me? Probably not. I've thought about making an automated optimizer but the code really needs to be disassembled correctly first to make a lot of changes. I have worked on a new version of ADis which does a pretty good job but needs more works and I've been involved with other projects recently. It would still never be completely safe to do an automated disassemble, patch and assemble but it could be pretty good and give disassembly warnings. It's better to focus on getting compilers to generate better code.


Please keep doing what you are doing.  It's very much appreciated!



Quote
Don Aden's a good guy and knows what he's doing. A faster transfer speed should give a speedup. I have a CSMK3 68060@75MHz with a 15k UltraSCSI hard drive that gives a sustained 30MB/s, PFS, PeterK's icon.library and Voodoo 4 and there really isn't much delay on large directory listings B).


I've got an ACard IDE to SCSI adapter for my CSMK2 with an SDHC attatched to it but my A3000 is currently in pieces (with a PIV,a Deneb and a few other bits too) until i get some free time to put it back together, but I've got a nicely configured UAE setup that I keep tweaking until i rebuild the A3000 and can transfer it across.
“Een rezhim-i eshghalgar-i Quds bayad az sahneh-i ruzgar mahv shaved.” - Imam Ayatollah Sayyed  Ruhollah Khomeini
 

Offline nicholas

Re: Faster directory listing possible?
« Reply #6 on: June 16, 2013, 11:32:53 PM »
Quote from: ChaosLord;738046
Of course I used to use PoolMem too!  From the day it first came out I was using PoolMem and it was awesome!

But then TLSFmem came out which is 10x better than PoolMem.

I ran software that is very hard on the Amiga's memory system.  It creates megabajilion of memory fragments.  And TLSFmem was massively better than PoolMem.  It uses a new better algorithm.

You can always comment out PoolMem with a ; and then add in TLSFmem in place of it in your startup-sequence to see what I mean.  If u don't like it you can always switch back.


I prefer TLSFMem too.  It's rock solid stable on every machine I use it on and it makes a really noticable speed difference too.
“Een rezhim-i eshghalgar-i Quds bayad az sahneh-i ruzgar mahv shaved.” - Imam Ayatollah Sayyed  Ruhollah Khomeini
 

Offline nicholas

Re: Faster directory listing possible?
« Reply #7 on: June 18, 2013, 03:06:12 PM »
There is this launcher too.

I've not used either myself though.

http://www.jimneray.com/xbench.html
“Een rezhim-i eshghalgar-i Quds bayad az sahneh-i ruzgar mahv shaved.” - Imam Ayatollah Sayyed  Ruhollah Khomeini
 

Offline nicholas

Re: Faster directory listing possible?
« Reply #8 on: June 19, 2013, 12:03:39 PM »
Quote from: djkoelkast;738296
How do I increase the cache on that partition? AddBuffers?


I've got AddBuffers DH2: 600 on my PFS3 partition. That's on MorphOS with 1GB RAM though.
“Een rezhim-i eshghalgar-i Quds bayad az sahneh-i ruzgar mahv shaved.” - Imam Ayatollah Sayyed  Ruhollah Khomeini