TonidoPlug Samba Speed

Support for your TonidoPlug
wladik
Rookie Tonidoid
Rookie Tonidoid
Posts: 6
Joined: Thu Jan 07, 2010 3:40 pm

TonidoPlug Samba Speed

Postby wladik » Sat Jan 16, 2010 10:18 am

Hi,
I tried to measure speed of attached disk (over Samba) to my Plug using Intel's NAS Performance toolkit
(review here http://www.tomshardware.co.uk/intel-nas ... 393-4.html)

But i am quite disapointed from results..

NASPerf Test Results
( FileCopyToNAS )
Transferred 1408958464 bytes (0 read, 1408958464 written) in 394561ms
Average Throughput: 3.571MB/s

( FileCopyFromNAS )
Transferred 1244987440 bytes (1244987440 read, 0 written) in 153294ms
Average Throughput: 8.122MB/s

Tonido is plugged into 100Mbit switch.

I hoped to higher write-speed to disk. (Attached disk is Seagate FreeAgent 1,5TB USB 2.0)

I have same write speed on Asus WL-500 router with 128MHz CPU :-(

Isn't anything wrong in samba config? (I am using default setting)


PS: How high is your score?

ezelkow1
Veteran Tonidoid
Veteran Tonidoid
Posts: 66
Joined: Thu Aug 20, 2009 4:09 pm

Re: TonidoPlug Samba Speed

Postby ezelkow1 » Sat Jan 16, 2010 3:43 pm

What format are your drives in? I notice pretty crappy speed on mine, but I generally attribute that to them being ntfs and that being fairly stressful on the plug. If you watch a top output while doing a transfer, if you use ntfs, you will notice the ntfs driver sucking up most of the cpu. I have a feeling if its an ext# or fat formatted drive it probably fares better.

wladik
Rookie Tonidoid
Rookie Tonidoid
Posts: 6
Joined: Thu Jan 07, 2010 3:40 pm

Re: TonidoPlug Samba Speed

Postby wladik » Sat Jan 16, 2010 4:33 pm

Disk is already formated to ext3 filesystem. And cpu usage during transfer (checked via top) is around 8% for smb daemon and 5% for usb-storage process. So it's about 13%.

ezelkow1
Veteran Tonidoid
Veteran Tonidoid
Posts: 66
Joined: Thu Aug 20, 2009 4:09 pm

Re: TonidoPlug Samba Speed

Postby ezelkow1 » Sat Jan 16, 2010 11:18 pm

Figured Id give it a shot too:
NASPerf Test Results
( FileCopyToNAS )
Transferred 1408958464 bytes (0 read, 1408958464 written) in 449657ms
Average Throughput: 3.133MB/s

NASPerf Test Results
( FileCopyFromNAS )
Transferred 1244987440 bytes (1244987440 read, 0 written) in 183218ms
Average Throughput: 6.795MB/s

So keep in mind this was on an ntfs drive

wladik
Rookie Tonidoid
Rookie Tonidoid
Posts: 6
Joined: Thu Jan 07, 2010 3:40 pm

Re: TonidoPlug Samba Speed

Postby wladik » Sun Jan 17, 2010 9:09 am

Because..
for example according this image http://hothardware.com/articleimages/item1401/big_large-file-transfer-chart-usb-nas.png (From this review http://hothardware.com/Articles/Seagate ... ew/?page=5) Pogoplug or FreeAgent DockStar (which both are running on same HW (Marvell Sheeva) ) are having results about 20MB/s for read and write. (Yes, it's runnig on gigabit, and I have now only 100mbit switch, but on 100 mbit is no problem to get 12MB/s between my two computers)

That's why I am so dissapointed from my meassured speed.

mikestaszel
Tonido MVP
Tonido MVP
Posts: 193
Joined: Sun Aug 23, 2009 9:04 pm

Re: TonidoPlug Samba Speed

Postby mikestaszel » Mon Jan 18, 2010 11:39 am

I ran that same test and got 5.8MB/s write speeds on a WRT54GL 100Mbit router and Windows 7 x64 connected via ethernet cable. Gigabit ethernet should be faster but there's probably a little bit more performance that could be squeezed out of the TonidoPlug.

michaeljeger
Regular Tonidoid
Regular Tonidoid
Posts: 10
Joined: Fri Jan 01, 2010 7:39 pm

Re: TonidoPlug Samba Speed

Postby michaeljeger » Mon Jan 18, 2010 1:52 pm

I am mainly concerned about write speeds onto USB.

I am on a Gigabit Network, when I write to plug in NTSF, I get 100% CPU load and a write speed of up to 6 Mb/s.

Same HD with ext3, I get up to 8 Mb/s write speed.

The external HD could write up to 40 Mb/s. I tried other HDs as well, the write speeds are consistent.

I am somewhat disappointed by this slow writing performance. Also since with the same Hardware, more should be possible.

Reading speeds are much better, around 25 Mb/s.
I have done all measurements with large files (1Gb)

Any support here from the suppliers how to increase write speeds?

Thanks, Michael

mikestaszel
Tonido MVP
Tonido MVP
Posts: 193
Joined: Sun Aug 23, 2009 9:04 pm

Re: TonidoPlug Samba Speed

Postby mikestaszel » Mon Jan 18, 2010 6:34 pm

Working on speed fixes now. NTFS will be slower than ext3, but speeds could be increased and we're on top of the issue.

ezelkow1
Veteran Tonidoid
Veteran Tonidoid
Posts: 66
Joined: Thu Aug 20, 2009 4:09 pm

Re: TonidoPlug Samba Speed

Postby ezelkow1 » Mon Jan 18, 2010 7:33 pm

Sweet, good to know. I always expect ntfs to be slower just due to the nature of the driver, I had previously compiled the latest ntfs driver and installed it on my plug back when I ran the rootfs off of a flash drive, but i didnt really notice any performance gains just from that alone.

michaeljeger
Regular Tonidoid
Regular Tonidoid
Posts: 10
Joined: Fri Jan 01, 2010 7:39 pm

Re: TonidoPlug Samba Speed

Postby michaeljeger » Tue Jan 19, 2010 1:58 am

OK

It's not a problem of SAMBA, it's really the FS-Drivers

For ext3, there seems to be a io-waiting bug (most of the CPU is wasted there with io waiting)

For NTSF, the mount.ntfs is eating away all CPU. This is also strange since NTFS should not really use that much CPU. I compiled and installed the latest ntfs-3g, that somewhat increase wrting speeds to about 7-8 Mb/s (from 5-6 Mb/s).

I am sure though that 12-15 Mb/s with NTSF should at least be possible, since my old NAS with Linux on it and with hardly any CPU power can write to an external USB HD with about 10 MB/s.

Just my 2 cents, I really hope the speed fix / update will be available soon.

Cheers, Michael


Return to “TonidoPlug Support”

Who is online

Users browsing this forum: No registered users and 6 guests