Have another look at the Sun/Bugs link I provided in the original post - it seems to be a 'known' problem, but Sun is either not willing or not able to solve the problem.
On Jan 6, 11:40 pm, Christian Catchpole <[email protected]> wrote: > I was surprised that there was a major difference between C and Java > as I thought they would just be hitting the same native file system > API anyway. But, perhaps its not that simple.. > > - are there different native APIs? > - can they be accessed differently (does java force a network lookup > while C gets a cached version)? > > I would suggest 20 secs vs 11 min means it is defiantly "down to the > network" - round trips to the file server to get an attribute would > blow the time out like that. > > On Jan 7, 3:28 am, John Muir <[email protected]> wrote: > > > > > Hi Alexey, > > > "maybe you should look at your network performance as well as compare > > JVM's times against a non-JVM program." > > > That's what started me off. I have a C program which does a folder > > sync in 20 seconds and my Java counterpart takes 11 minutes! So it's > > not down to the network. (And the disks are all NTFS not FAT32.) > > > John
-- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
