What is the best way to transfer big files to RPi?
|
20th Apr, 2013, 07:36 PM
Post: #1
|
|||
|
|||
What is the best way to transfer big files to RPi?
What is the best way to transfer big files to the RPi?
Now I've test this options:
RPi uses wifi connection, at this time avg. spd is around 40 mb/s (up and dl), max is 60 dl and 50 up (iperf). |
|||
21st Apr, 2013, 08:36 AM
Post: #2
|
|||
|
|||
Re: What is the best way to transfer big files to RPi?
Good question! Hope we can keep this topic clean with only real answers, proven methods and benchmarks.
|
|||
21st Apr, 2013, 10:28 AM
Post: #3
|
|||
|
|||
Re: What is the best way to transfer big files to RPi?
Netcat has zero overhead so is a very good candidate.
You can find example usage here ( http://arkanis.de/weblog/2009-05-22-fast-file-transfer-with-netcat ). Please read rules and do a search before you post! | FAQs | How to post log file? | Can't find an answer? Contact us. |
|||
23rd Apr, 2013, 02:58 PM
Post: #4
|
|||
|
|||
RE: What is the best way to transfer big files to RPi?
(21st Apr, 2013 10:28 AM)f1vefour Wrote: Netcat has zero overhead so is a very good candidate. How to check speed? Now target file becomes bigger for 300Kb/s |
|||
24th Apr, 2013, 05:21 AM
Post: #5
|
|||
|
|||
Re: RE: What is the best way to transfer big files to RPi?
(23rd Apr, 2013 02:58 PM)kraleksandr Wrote:(21st Apr, 2013 10:28 AM)f1vefour Wrote: Netcat has zero overhead so is a very good candidate. I would check the speed with the 'time' command. To calculate speed do this. Size in Megabyte x 1024 / Transfer time in seconds. Example 260 Megabyte file in 1 min 12 seconds would be. 260 x 1024 = 266240 / 72 = 3697.66 kilobytes per second transfer speed Please read rules and do a search before you post! | FAQs | How to post log file? | Can't find an answer? Contact us. |
|||
24th Apr, 2013, 07:38 AM
Post: #6
|
|||
|
|||
Re: What is the best way to transfer big files to RPi?
I just tested SCP from my Android device (Galaxy Nexus) to the Raspberry Pi and I had a sustained transfer rate of 2100 KB/s (260 megabyte file) using an app for the transfer.
You must be having an issue with WinSCP. Please read rules and do a search before you post! | FAQs | How to post log file? | Can't find an answer? Contact us. |
|||
24th Apr, 2013, 04:29 PM
Post: #7
|
|||
|
|||
RE: What is the best way to transfer big files to RPi?
(24th Apr, 2013 07:38 AM)f1vefour Wrote: I just tested SCP from my Android device (Galaxy Nexus) to the Raspberry Pi and I had a sustained transfer rate of 2100 KB/s (260 megabyte file) using an app for the transfer. Maybe... When I start copying, speed is up to 2200 Mb/s, after 11 seconds WinSCP becomes "Non Responding" and after ~30 seconds it resumes copying with 300 kb/s speed |
|||
25th Apr, 2013, 02:25 PM
Post: #8
|
|||
|
|||
RE: What is the best way to transfer big files to RPi?
BtSync: 2kB/s - 1.7mB/s, avg - 500kB/s
|
|||
28th Apr, 2013, 03:01 AM
Post: #9
|
|||
|
|||
RE: What is the best way to transfer big files to RPi?
if you can't use nfs, try ftp. just tried now with over sustained 6.3MB/s with 700MB file.
Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
28th Apr, 2013, 03:54 AM
Post: #10
|
|||
|
|||
RE: What is the best way to transfer big files to RPi?
Ok, ftp:
proftp, default conf, root on /media/hdd (external hdd) up to 4 Mbit/s at start, then avg. 500 kbyte/s or error after 3 seconds Magic Looks like I need to buy another wifi-adapter... With MIMO and n-mode |
|||
28th Apr, 2013, 04:24 AM
Post: #11
|
|||
|
|||
RE: What is the best way to transfer big files to RPi?
just to be sure, run "iostat 2" during the transfer and check whether your iowait % is not 100% all the time.
writing with dd to the hdd is with no issues? Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
28th Apr, 2013, 05:25 AM
Post: #12
|
|||
|
|||
RE: What is the best way to transfer big files to RPi?
Ok, when kB_wrtn/s is around 1500, then %iowait is at 70.00
dd from sdcard to hdd bs 512 count 200: iowait 75, kb_wrtn 700, "104857600 bytes (105 MB) copied, 66.848 s, 1.6 MB/s" (dd to file, fs ext4) |
|||
28th Apr, 2013, 05:35 AM
Post: #13
|
|||
|
|||
RE: What is the best way to transfer big files to RPi?
this is ok, yes
Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
23rd May, 2013, 05:47 AM
Post: #14
|
|||
|
|||
RE: What is the best way to transfer big files to RPi?
The results of my tests:
- Setup: Transfer big files from Windows 7 PC (wireless connected to router) to Raspberry pi (wired to router). - Test file: one 600 MB video file - Measurement: by NetWorx; average and maximum speeds (measurement done in Windows, manual activated direct after copy command). - Copy to Raspberry: Internal SD card (ext.4) or External connected USB 2.0 drive (ext.4). Samba (SMB) - standard Xbian package
NFS - (Using HaneWin NFS server and this method)
SFTP - using WinSCP
FTP - using wsftpd as server and Filezilla as client; installed by this small guide
My conclusion: the best way for me to easily copy big files from my PC to my raspberry (normally USB HDD) is by using FTP (replaced Samba for me). /edit: added FTP measurement |
|||
« Next Oldest | Next Newest »
|