Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mac OS X File IO Performance Issue?



I wrote:

>Finally, I ran your program (actually my slight variation of it) on my
>machine, and it consistently reads 100 KB files in 1 or 2 ms each, and
>newly-created 1 MB files at about 12-13 ms each.  The I/O speed for the 1
>MB files comes in at 7-9 MB/s.

BZZZT, WRONG!!

Reading 1 MB (1024 x 1024) in 12 ms (0.012 s) is 83.3 MB/s.  I had a bug in
the scale-factor (misplaced decimal point).

So all my earlier reported MB/s rates are about 10X too small.  That is, I
see 70-80 MB/s reading 1 MB files on my 500 MHz G4.


Also, I fired up a logic board from a Bondi-blue iMac (G3, 233 Mhz, 160 MB
RAM), running 10.3.7 and Java 1.4.2_05.

It takes about 150 ms for the first 15-20 files (with a lot of variation),
then 45-50 ms for each file thereafter.  That's about 6 MB/s and 20 MB/s.
There's a lot more variation in speeds than on the G4, too.

I can almost hear the thing swapping, or maybe that's the squirrels
changing places.


I haven't tried this on the StarMax in the closet yet (160 MHz 603e), but
maybe I'll do that over the weekend.

  -- GG


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.