[mythtv-users] OT: SMB performance?

Matt Emmott memmott at gmail.com
Thu Jan 19 19:07:13 UTC 2012


On Thu, Jan 19, 2012 at 1:30 PM, Pieter De Wit <pieter at insync.za.net> wrote:

> Hi,
>
> I would at least try a newer version. Since you have that shiny box there,
> firing up another VM won't be a problem. I am thinking 11.10, basic server
> install, mount smb, try.
>
> Below is from a time long long ago and a land far far away...(more for
> history than anything else)
> I do however recall a "bug" in Samba...I can't recall the exact details
> and this will hurt any Windows Sys Admin (I myself have ticked off over 10
> years as one :) ) Samba is sending the replies back to quickly...I can't
> remember the exact details of the packets etc, but there was a config file
> option intro'ed to fix this. "2" was our magic number.
> </>
>
> While searching for the above.....I do seem to recall a lot of people
> complaining about Samba, as a server, only serving up 30meg/sec, might be
> tied to the above... Can you clear up which is the server you are copying
> the file from (Windows "with 2TB lun"-> Linux local disk) ?
>
> The other "issue" might be local disks...I have noticed that my local disk
> access has turned quite shocking...Adaptec SATA raid only giving me 25-28
> meg/sec....
>
> A way around the above is the following:
>
> d if=/mnt/smb/14gig.mkv of=/dev/null bs=4096
>
> Increase the bs to higher and higher and see what works. If you would like
> to monitor the progress of the above command, run this
>
> dd if=/mnt/smb/14gig.mkv bs=4096 | pv | dd of=/dev/null bs=4096
>
> Replace /mnt/.... with the correct mount point.
>
> If the list prefers, we can take this off list as it doesn't really cover
> myth, but rather Samba. Happy to post the outcome thou.
>
> Cheers,
>
> Pieter
>
>
Thanks Pieter, some of that commandline-fu is exactly what I'm looking for
while testing.

You're right, I admit I didn't even think of spinning up a latest and
greatest Ubuntu VM for testing. I'll try that first.

As far as testing goes, My Windows workstation is a Core i7 Optiplex. All
transfers for the sake of a baseline were done from here. I simply dragged
and dropped and watched what Windows told me the speed was, and let it go
to at least 50% before canceling.

I tried copying the mkv from my Windows VM first. I then tried all kinds of
options like ubuntu to ubuntu etc, but for the sake of troubleshooting, I
tried copying the mkv up to my MBE vm, which currently has its virtual
disks on the ESXi's local RAID 5. Actually, I didn't even think of that
till I just typed this, I'll throw a virtual disk at that box on the Xserve
array and see if it makes a difference.

I then tried copying the mkv to my slave backend and had the same
30MB/second speed. I tried grabbing a large recording off the slave be and
dropping it on the WIndows workstation; same speed.

Off to do more testing! If this is cluttering the list please let me know,
I just thought that people here would be knowledgeable on the subject.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.mythtv.org/pipermail/mythtv-users/attachments/20120119/03ee46c6/attachment.html 


More information about the mythtv-users mailing list