Heavy Kaffe I/O at startup

Victor Zandy zandy at cs.wisc.edu
Fri Oct 16 09:04:23 PDT 1998


    [ I sent this already yesterday, but it didn't seem to make it,
      apologies if this is duplicated for you. ]


Hi,


    First of all, Kaffe is very cool.  I'm grateful to all involved.

    Kaffe 1.0b2 generates a lot of very small reads when it starts on
my platform, Sparc Solaris 2.5.1.  I have counted nearly 10K calls to
read, most between 2 and 4 bytes, when Klasses.jar is read during
startup.  Some sequences of 20 of these, maybe longer, are contiguous.

    Does anyone know why this happens?  Why not read the .jar all at
once?  Why not mmap it?  Why not at least read contiguous blocks in
one read?

    I couldn't find a way to search the the archive of this list, so I
don't know if this has been discussed previously.  If it has, a
pointer to the relevant messages would be great too.


Thanks,
Vic Zandy



More information about the kaffe mailing list