When I transfer data from/to a Win-PC to the RaPi-smbd I only achieve up to ~800kByte/s, but not stable: sometimes it drops down to ~300 kByte/s. The cpu load is always below 30%.eshatohhin wrote:tested samba performance over ethernet using old 80gb IDE drive connected to pi using £2 USB 2.0 to IDE Adapter Cable from ebay:
read: ~7.5mb sec
There's a setting somewhere to cache more in RAM too, or rather, to queue stuff in RAM then write it in one fell swoop instead of thrashing like crazy on the HD... I'll come back when I find it3.5 Readahead
The option readahead IS NOT the same as multcount. The multcount refers to the possibility of the hardware to read more than one sector at a time while the readahead option is the number of sectors ahead your computer should read. The readahead feature is great when reading big-size files but it brings down the performance for short-size files. A good idea is to leave the value of readahead the same as the multcount so it will not be needed to make more than an access per time to read more sectors ahead.
If you are going to access big files you can set the readahead to a greater value. The default value is 8 sectors/read access (something like 4kb).
Now the syntax:
# hdparm -a N /dev/hda
N is the number of sectors for readahead.
Users browsing this forum: mahjongg and 72 guests