BAFelton
Well-Known Member
Hi !
Zx81 gave us a trick to improve the SD card write speed. Here's a mail he sent to simon (from GPH) :
Simon answered this was for the SD security to make instant writings on it.
So, to improve this, here's a autorun.gpu to add on the root of your SD.
It will work, but if you have many SD cards, copy this on each of them. This file must be saved in UNIX format. (follow this tuto : http://www.gp32x.de/board/index.php?/topic/60320-tuto-making-ini-files/ )
Here it is : http://www.multiupload.com/63UNEEIU1C
If you don't want it anymore, just remove it from your SD on your PC
We've seen a real improvement with loading some games (I think of Payback with Ginge, it's reaaally faster to load)
I'm not the author of the code, only Zx could answer questions about this.
Zx81 gave us a trick to improve the SD card write speed. Here's a mail he sent to simon (from GPH) :
I don't know if its due to my SD card (i've tried few kinds with the same result, so i guess not). While using the Caanoo as a USB storage device (under linux); the write speed is really slow (10 kB by second) . I've tried also using a ssh/dropbear session on the caanoo and the following command gave me the same result :
... ssh caanoo ...
root@caanoo's password:
~ # mkdir -p /mnt/sd/tmp
~ # cd /mnt/sd/tmp
/mnt/sd/tmp # time dd if=/dev/zero of=pwet bs=1024 count=100
100+0 records in
100+0 records out
real 0m 11.88s
user 0m 0.01s
sys 0m 0.05s
Then i've modified the mount options of the SD card :
/mnt/sd/tmp # mount
/dev/mmcblk0p1 on /mnt/sd type vfat (iocharset=utf8,sync,noatime)
/mnt/sd/tmp # mount /dev/mmcblk0p1 /mnt/sd -o remount,dirsync,noatime
/mnt/sd/tmp # time dd if=/dev/zero of=pwet bs=1024 count=100
100+0 records in
100+0 records out
real 0m 0.01s
user 0m 0.00s
sys 0m 0.02s
And the speed is now much better (but it needs a 'sync' before removing the SD card ...). Using the Caanoo as a mass storage with this mount option, i got very good speed as well.
Simon answered this was for the SD security to make instant writings on it.
So, to improve this, here's a autorun.gpu to add on the root of your SD.
Code:
#!/bin/sh
/bin/mount /dev/mmcblk0p1 /mnt/sd -o remount,dirsync,noatime
cd /usr/gp2x
exec ./gp2xmenu
It will work, but if you have many SD cards, copy this on each of them. This file must be saved in UNIX format. (follow this tuto : http://www.gp32x.de/board/index.php?/topic/60320-tuto-making-ini-files/ )
Here it is : http://www.multiupload.com/63UNEEIU1C
If you don't want it anymore, just remove it from your SD on your PC
We've seen a real improvement with loading some games (I think of Payback with Ginge, it's reaaally faster to load)
I'm not the author of the code, only Zx could answer questions about this.
Last edited by a moderator: