From: <joe...@ne...> - 2002-09-05 08:58:20
|
On Wednesday 04 September 2002 21:39, Frank Meurer wrote: > BTW - libnjb seems to work faster. Can you give some time measurements? Here, njbfs is fast enough, only 15-20% slower than say PlayCenter. njbfs can be tuned for speed. There is some extra delay in the code right= now=20 because the USB data is transferred in 4KB blocks (which is the page size= of=20 the virtual file system in the Linux kernel), disconnecting from USB,=20 reconnecting to the USB again etc. for each block! Right now, for simplic= ity,=20 the USB data transfer follows the kernel block size. Anyway, the USB data= can=20 be transferred at *once*, i.e. some megabytes at a single command, withou= t=20 interuption, called burst mode, and this is much faster. Easy from usersp= ace,=20 easy from W$ndows, but it needs some extra work in Linux kernel. But this= =20 extra work is preferable. It would fit to data preprocessing. I started=20 months ago with ID3 tag processing preparing a more intelligent upload, t= o=20 get rid of special filenames for uploading proper MP3 files. Cheers, J=F6rg |