Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

"Buffering..." from USB HDD, but not from netowrk streams
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
"Buffering..." from USB HDD, but not from netowrk streams
28th Mar, 2013, 11:43 PM
Post: #1
piontec Offline
Registered
Posts: 2
Joined: Mar 2013
Reputation: 0
"Buffering..." from USB HDD, but not from netowrk streams
Hi all,
I have a raspi B 256 MB and on a default installation of xbian1.0a5 (no configuration, default parameters accepted) I have the following issue.

I have a fast external HDD attachet via USB to the Pi. When I'm watching SD movies, everything is OK, but in 720p/1080p movies, the movie is every few minutes stopped with the "Buffering..." message from XBMC. The interesting thing is, that network streams, even 1080p, work flawlessly. Is there any way to improve buffering from local drives? Any ideas?

Thanks in advance for any suggestions,
Find all posts by this user
Quote this message in a reply
29th Mar, 2013, 01:42 AM
Post: #2
Koenkk Offline
Registered
Posts: 1,238
Joined: Dec 2012
Reputation: 112
"Buffering..." from USB HDD, but not from netowrk streams
Is it a self powered usb hdd? If not, connect it to a powered USB hub.

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
29th Mar, 2013, 06:56 AM
Post: #3
piontec Offline
Registered
Posts: 2
Joined: Mar 2013
Reputation: 0
RE: "Buffering..." from USB HDD, but not from netowrk streams
I doubt it's a power supply problem - the drive shares with the pi a 4A 5V power supply - there should be plenty of current available. Can it be related to the fact, that after running XBMC there is only a limited amount of RAM left for disk buffering? Maybe drive readahead can be tuned?
Find all posts by this user
Quote this message in a reply
29th Mar, 2013, 12:27 PM
Post: #4
Koenkk Offline
Registered
Posts: 1,238
Joined: Dec 2012
Reputation: 112
"Buffering..." from USB HDD, but not from netowrk streams
The PI can ony output a X amount of Ma via USB. That X amount is too less to power a USB HDD

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
29th Mar, 2013, 06:33 PM
Post: #5
namtih Offline
Tester
Posts: 269
Joined: Dec 2012
Reputation: 28
RE: "Buffering..." from USB HDD, but not from netowrk streams
What Koenkk is saying is, that you can have a very powerful power adapter connected to the PI. But the USB ports of the PI will only use about 300mA - not more. And those 300mA are often not enough to power a USB drive.

But to test your USB drive and the general performance, you could try to execute this command via SSH:
Terminal

sudo dd if=/dev/sdb1 of=/dev/null bs=32M count=30 iflag=direct

This will create a 900MB test file on your disk.
Please replace "/dev/sdb1" with the indentifier of your USB drive. You should get it via a simple "df".
To give you any number to compare to, here is my result:
Terminal

root@xbian ~ # sudo df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sdb1 1953503968 1467509906 485994062 76% /mnt/hdd

root@xbian ~ # sudo dd if=/dev/sdb1 of=/dev/null bs=32M count=30 iflag=direct
30+0 records in
30+0 records out
1006632960 bytes (1.0 GB) copied, 29.0751 s, 34.6 MB/s
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 9th May, 2025, 06:06 PM Powered By MyBB, © 2002-2025 MyBB Group.