Bug #739

SMB (Samba) Network Issue

Added by John Smith over 9 years ago. Updated over 9 years ago.

Status:FixedStart date:10/08/2011
Priority:NormalDue date:
Assignee:Andreas Smas% Done:

100%

Category:Filesystem
Target version:3.4
Found in version:3.3.084 Platform:PS3

Description

Issues found so far:

- 1.5mbit limit (sometimes slower than that, only mp3 playback with 320kbps are only applicable with this bandwidth, trying to play FLAC audio or Videos through SMB network will lag the playback)
- Not all files are showed up *(more likely, there's a 2048 character limit on file listing on current directory you were viewing)

Associated revisions

Revision df9e5679
Added by Andreas Smas over 9 years ago

Use TCP_NODELAY all over the place for sockets we initiate

Should make streaming faster (in particular over SMB)

refs #739

Change included in version 3.3.131

Revision 91eac640
Added by Andreas Smas over 9 years ago

smb: Improve read throughput but doing multiple asynchronous reads simultaniously

refs #739

Change included in version 3.3.181

Revision c41ecf8a
Added by Andreas Smas over 9 years ago

fa: Increase IO buffers for video streaming

Fixes #739

Change included in version 3.3.182

History

#2 Updated by Tiago windcrusher over 9 years ago

John Smith wrote:

Issues found so far:

- 1.5mbit limit (sometimes slower than that, only mp3 playback with 320kbps are only applicable with this bandwidth, trying to play FLAC audio or Videos through SMB network will lag the playback)

Hi john,
I have this problem and I resolved... now I can play 1080p from wireless 54g. direct from my usb ntfs attached in my netbook..

I only change this in register of my windows xp:

open regedit
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces
find a folder refered you network addaptet (see IP number)
now you need to creat a 2 news DWORD value
TcpAckFrequency with value decimal 1
TcpDelAckTicks with value decimal 0

Restart!!!.. Now you can play fine!!!!

Thanks Andreas for SMB share..

#3 Updated by Wouter de Vries over 9 years ago

Unfortunately Tiago's fix does not work for Windows 7 and the 1.5 Mb/s limit remains a problem.

#4 Updated by Andreas Smas over 9 years ago

  • Category set to Filesystem
  • Status changed from New to Accepted
  • Assignee set to Andreas Smas
  • Target version set to 3.4

I've fixed some stuff that hopefully should make streaming a bit faster.

I have a couple of other tricks up my sleeve that should implement as well

But this is always a start.

#5 Updated by Jukka - over 9 years ago

Andreas Ă–man wrote:

I've fixed some stuff that hopefully should make streaming a bit faster.

I have a couple of other tricks up my sleeve that should implement as well

But this is always a start.

I need to say that this feature kicks ass! Now at last I'm able to stream all needed material from my pc to living room. And showtime makes it well, movies, music etc even youtube, thanks!

I have used 3.3.127 version with windows 7 and managed get it to work just using the share function. (http://www.redsquirrel87.com/ShowtimeUnofficial.html)

I use anonymous access (no username, no password) and it works fine.

I have 1 Gb wired network.
As assumed max speed was about 1,5 limit so no hd etc. But otherwise it worked very well much better and pro than dlna.
I also managed get it to work via full speed using this information.

http://b.snapfizzle.com/2009/09/windows-7-nagles-algorithm-and-gaming/

After making the registry changes I was able to watch full hd material way over 10 Mb speed, difference was very clear.

Problem is that I tried to use v3.3.143 and v3.3.149 versions but they are broken.

I can browse directories but when I try to open exact same movie that worked with 3.3.127 version i just get error saying something unable to process input stream.

I switched back to 127 version and it was fine again.

So something went broke.

Is it possible to fix this or restore it as it was?

I can test versions.

#6 Updated by Andreas Smas over 9 years ago

  • Status changed from Accepted to Fixed
  • % Done changed from 0 to 100

Also available in: Atom PDF