LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
Thread Tools
Old 01-02-2009, 01:58 PM   #1
zlin50
LQ Newbie
 
Registered: Jan 2006
Distribution: slackware-10.2
Posts: 10
Thanked: 0
variable wlan speed, rsync


[Log in to get rid of this advertisement]
Hi there,

got to configure my brand new eee-pc (mostly...)! :-)

My plan ist to mirror my home directory between desktop and netbook using rsync.

Prodecure (rtfm); hint: using compression
Quote:
#!/bin/sh
# mirror two computers using rsync
# syntax: rsync "source" "target"; "source" is reference for syncing
LAPTOP="192.168.0.192"
rsync -avuzb --exclude '*~' ${LAPTOP}:/home/dummy/ /home/dummy
rsync -avuzb --exclude '*~' /home/dummy/ ${LAPTOP}:/home/dummy

Now: the problem:

Using iwconfig I see 56MB/s more or less constantly.
Even the download rate from internet is - depending on server - close to perfect.

But as soon as I start "rsync" at my desktop (actually the script above), I see a transfer-rate of about 600kB/s and iwconfig says 1MB/s (which corresponds, of course).
After finnishing/stopping rsync, iwconfig shows 56MB/s, again!

btw: same behaviour without compression.

boundary conditions:
desktop: slackware-12.1
eee-pc: slackware-12.2 (rt2860rta, wpa2)
router: d-link DIR-635

My question is: why do I have such a low speed, while rsync is running??

Any hint appreciated!
M.

Last edited by zlin50; 01-03-2009 at 11:12 AM..
zlin50 is offline     Reply With Quote
Old 01-02-2009, 04:56 PM   #2
jiobo
Member
 
Registered: Nov 2008
Posts: 72
Thanked: 2
Can you post your network architecture? What is connected to what, and what is running what. Aside from the low speeds, it works?
jiobo is offline     Reply With Quote
Old 01-03-2009, 06:33 AM   #3
zlin50
LQ Newbie
 
Registered: Jan 2006
Distribution: slackware-10.2
Posts: 10
Thanked: 0

Original Poster
Aside from the low speeds while running rsync, it works perfectly!

rsync is running on the desktop connecting to the netbook.

network architecture:

DSL-Modem --> router (DIR-635)
--> lan1 desktop (dhcpcd; 192.168.0.100 reserved)
--> lan2 nas-server (dhcpcd; 192.168.0.101 reserved)
--> lan3 networked media tank (off, at the moment)
--> wlan eee-pc (dhcpcd; 192.168.0.x)

router is configured for port-forwarding:
- torrents: TCP,UDP ports 6880-6999 --> 192.168.0.101 (nas)
- http: TCP port 80 --> 192.168.0.101 (nas)

/etc/rc.d/rc.inet1.conf @desktop:
USE_DHCP[0]="yes"
DHCP_KEEPRESOLV[0]="yes"
GATEWAY="192.168.0.1"

/etc/rc.d/rc.inet1.conf @eee-pc:
USE_DHCP[0]=""
DHCP_KEEPRESOLV[0]="yes"
IFNAME[4]="ra0"
USE_DHCP[4]="yes"
DHCP_KEEPRESOLV[4]="yes"
WLAN_ESSID[4]="myssid"
WLAN_MODE[4]=Managed
WLAN_RATE[4]="auto"
WLAN_CHANNEL[4]=""
WLAN_WPA[4]="wpa_supplicant"

Comment: my router is changing channel number from time to time, therefore I didn't prescribe a WLAN_CHANNEL above.

Do you need to know anything else?

Best regards.

Last edited by zlin50; 01-04-2009 at 12:30 PM..
zlin50 is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
set speed limit to rsync? malo_umoran Linux - General 7 08-27-2009 01:39 AM
siemens se361 wlan - slow speed over wireless nezdravanul Linux - Networking 0 12-20-2008 06:44 PM
Rsync running on IPSEC VPN timeout or getting very slow speed Moaahk Linux - Hardware 0 06-13-2008 07:44 AM
how can i see my rsync download speed? nocturna_gr Linux - General 4 11-16-2005 12:44 PM
rsync speed? jedimastermopar Linux - General 4 05-07-2005 11:08 AM


All times are GMT -5. The time now is 06:27 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration