And the output is ``took 3585ms to read 3364KB''. Now when I copy files from memorystick to my hard drive through USB the speed is roughly 5MB/s, 5 times better. Is something wrong with my code/psp, or is this correct behavior?
Noko wrote:Ah, nevermind, I found the solution. Using larger buffer improves speed dramatically.
Yes. Most of the time, unless your file is really big, you'll want your buffer to be dynamically allocated to be the same size as the file, and read the file in one time.