On Mon, 7 Apr 2008, ChaoHong Guo wrote:
Joerg Schilling 写道:
Bruno Damour <[EMAIL PROTECTED]> wrote:
hello,
I have a USB pen drive, formatted with FAT32.
It is working with correct speed under linux, windows, freebsd.
I mean I can copy to and from files.
In the contrary, it is VERY slow on opensolaris.
I mean a transfer of 10 files total 1GB takes around 3 mn on windows and
1 1/2 hour in solaris.
Is there any explanation / workaround ?
You most likely run USB-1.1 only.
You need to check why...
Jörg
If we follow ufs and zfs, and enable pcfs_getpage() to inline
pnv_getpages(), maybe
we get better performance ? Or read-ahead before page fault is useful ?
pcfs' scaling is negative because of the per-mountpoint lock. I.e. you
copy two files at the same time and it'll take longer than to copy them in
sequence.
You could increase the thoughput for a single copy by implementing
readahead. Problem is, pcfs doesn't cache block lists (fat cluster chains)
either, so you might still end up with a significant number of fat lookups
if the block (cluster) size is less than the MMU pagesize / segmap
blocksize (which it often is).
From my point of biew, it's easier to write a completely new driver than
to try to enhance the existing one.
FrankH.
-minskey
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org
------------------------------------------------------------------------------
No good can come from selling your freedom, not for all the gold in the world,
for the value of this heavenly gift far exceeds that of any fortune on earth.
------------------------------------------------------------------------------
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org