Scp to raspberry 3 times slower than scp from raspberry
|
10th Jun, 2013, 05:31 PM
Post: #1
|
|||
|
|||
Scp to raspberry 3 times slower than scp from raspberry
Hi,
I have a network issue and I'd like to ask for help. I use xbian alpha 5. My π is connected using ethernet cable to wifi router. My laptop uses wifi (g). If I scp files to raspberry, it is very slow (about 0.5MB/s) but if I scp files from raspberry to my laptop, the transfer speed is ok (1.5MB/s - probably limit of my wifi network). I use external HDD, formatted using HFS+. And it is not source of the slowness: Code: > dd if=/dev/zero of=500mb.bin bs=1M count=500 oflag=direct so the disk write speed is about 20MB/s. Any ideas why scp upload is 3 times slower than download? Thanks. Jan |
|||
10th Jun, 2013, 05:36 PM
Post: #2
|
|||
|
|||
Re: Scp to raspberry 3 times slower than scp from raspberry
maybe speed of your SD card is affecting this
~~~~>>>Please always follow rules and read before you post<<<~~~~ |
|||
10th Jun, 2013, 05:56 PM
Post: #3
|
|||
|
|||
RE: Scp to raspberry 3 times slower than scp from raspberry
(10th Jun, 2013 05:36 PM)rikardo1979 Wrote: maybe speed of your SD card is affecting thisI'm not copying to SD card, but to USB attached disk. Anyway SD card is also quite fast: Code: xbian@xbian ~ $ dd if=/dev/zero of=500mb.bin bs=1M count=500 oflag=direct |
|||
10th Jun, 2013, 08:25 PM
Post: #4
|
|||
|
|||
RE: Scp to raspberry 3 times slower than scp from raspberry
I have very same trouble but I don't use wifi.
|
|||
10th Jun, 2013, 09:46 PM
Post: #5
|
|||
|
|||
RE: Scp to raspberry 3 times slower than scp from raspberry
Check the CPU usage via "top" while transfering files. Perhaps it's the bottleneck due file encryption.
|
|||
10th Jun, 2013, 10:56 PM
Post: #6
|
|||
|
|||
RE: Scp to raspberry 3 times slower than scp from raspberry
Top is high on wa. But the same situation via samba or ftp, eg. without encryption.
|
|||
11th Jun, 2013, 12:04 AM
Post: #7
|
|||
|
|||
RE: Scp to raspberry 3 times slower than scp from raspberry
Is Samba and/or FTP faster or is it the same issue?
|
|||
13th Jun, 2013, 08:37 PM
Post: #8
|
|||
|
|||
RE: Scp to raspberry 3 times slower than scp from raspberry | |||
15th Jun, 2013, 01:28 PM
Post: #9
|
|||
|
|||
RE: Scp to raspberry 3 times slower than scp from raspberry
is you usb hdd mounted with "sync" option?
(do a "mount" from terminal and check) Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
15th Jun, 2013, 03:12 PM
Post: #10
|
|||
|
|||
Re: Scp to raspberry 3 times slower than scp from raspberry
what is the HW set up and details?
~~~~>>>Please always follow rules and read before you post<<<~~~~ |
|||
21st Jun, 2013, 05:34 PM
Post: #11
|
|||
|
|||
RE: Scp to raspberry 3 times slower than scp from raspberry | |||
23rd Jun, 2013, 01:19 AM
Post: #12
|
|||
|
|||
RE: Scp to raspberry 3 times slower than scp from raspberry
Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
Raspberry Pi 3 loosing wifi - busy status | mgouin | 25 | 62,227 |
31st Aug, 2016 08:11 PM Last Post: Nachteule |
|
Issue with Official Raspberry Pi Wifi Dongle | nmrcantao | 1 | 6,571 |
9th Jan, 2016 11:44 PM Last Post: IriDium |