>Mark Scheck wrote: >> I moved 4.1 GB from my OpenSolaris laptop to a Kingston 8GB USB stick. Took >> 3 1/2 hours the same tranfer is 10-15 minutes on Linux and Windows. I looked it up and it seems the its way OpenSolaris /Solaris uses PCFS. Has anyone come up with a work around? >> >You may have the problem on PCFS which will try to zero every block >before write down data >and lose performance accordingly. But more details would be helpful, >like the version of OpenSolaris >and what's kind of 4.1GB data you tried in above case.
One if the things I have seen is that "pcfs" reads and writes each cluster individually. I recently bought a "Lexar Professional USB 2.0 reader" for CF and SDLC; the Solaris box (Atom 230) can read from a modern UDMA capable CF card at around 27MB/s. (That would cost around 2.5 minute to read the whole card, 4GB; pretty much the same amount of data about) But reading the same card though pcfs is MUCH slower; and the same card only delivers 5MB/s through pcfs. If I read the card with dd using a small block size, its performance also becomes a lot less. So pcfs needs a bit work, both in writing and reading (bigger blocks). Test how quick the USB key is using dd with a 1MB block size. What I think is that the following might be quicker: - read the whole USB image (you need to do this once) - mount the image using lofi - copy the data - unmount - dd the image back to the flash drive. While you still use pcfs, it might be quicker, depending on how much memory you have. Casper