Wifi slows down the wired connection?!

Hi!
I have two PCs running arch: one laptop and one desktop.
Laptop has two interfaces one wlan and one wired one:
2: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
link/ether c4:17:fe:d4:a9:4a brd ff:ff:ff:ff:ff:ff
3: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether 00:26:b9:a4:54:59 brd ff:ff:ff:ff:ff:ff
Desktop only one wired:
2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 90:e6:ba:0d:3f:b9 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.155/24 brd 192.168.1.255 scope global dynamic enp2s0
valid_lft 78774sec preferred_lft 78774sec
inet6 fe80::92e6:baff:fe0d:3fb9/64 scope link
valid_lft forever preferred_lft forever
Both wired interfaces are 1000 Mbps/Full duplex as well as Ethernet Switch is 1Gbps capable.
I noticed that ssh connection estableshed from desktop to laptop (when laptop connected over wireless) is very laggy. Sometimes it's ok, but sometimes the response comes like 10-15 seconds after the command was typed in. I found it strange, since the rest of the wireless clients @ home, like two Android devices as well as Windows-powered laptop don't experience any similar lag whenever connecting to Internet (Ethernet switch is integrated with Internet gateway).
Anyway I decided to use HW WiFi switch on the laptop (to turn WIFi off) and established a wireline connection from laptop to the switch. After that ssh (connected to wireline IP of laptop) went smooth and seamless. I even ran a iperf test showing the expected throughput:
laptop (wired ip 192.168.1.103):
iperf -s
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
[ 4] local 192.168.1.103 port 5001 connected with 192.168.1.155 port 45763
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-10.0 sec 1.10 GBytes 941 Mbits/sec
desktop (wired ip 192.168.1.155):
iperf -c 192.168.1.103
Client connecting to 192.168.1.103, TCP port 5001
TCP window size: 85.0 KByte (default)
[ 3] local 192.168.1.155 port 45763 connected with 192.168.1.103 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 1.10 GBytes 942 Mbits/sec
So the iperf flows go 192.168.1.103<---->192.168.1.155 at full speed, and as said, ssh is not laggy.
Now guess what? If wireless interface gets re-enabled (HW switch is switched on), the throughput on the same path gets drastically reduced and lags reappear! And yes, I'm absolutelly sure no traffic actually goes between desktop's LAN iface and laptop's wifi!
See the log
laptop (wired ip 192.168.1.103, wireless ip 192.168.1.75):
iperf -s
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
[ 4] local 192.168.1.103 port 5001 connected with 192.168.1.155 port 45810
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-11.2 sec 1.62 MBytes 1.22 Mbits/sec
desktop (wired ip 192.168.1.155):
iperf -c 192.168.1.103
Client connecting to 192.168.1.103, TCP port 5001
TCP window size: 85.0 KByte (default)
[ 3] local 192.168.1.155 port 45810 connected with 192.168.1.103 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-11.0 sec 1.62 MBytes 1.24 Mbits/sec
tcpdump on desktop:
sudo tcpdump | grep 192.168.1.75
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on enp2s0, link-type EN10MB (Ethernet), capture size 262144 bytes
23:47:30.978585 IP 192.168.1.75 > 239.192.0.0: igmp v2 report 239.192.0.0
As you can see no traffic goes through the wireless IP address, still the throughput is "wireless", although endpoint is specidied as wireline. ssh connected from desktop to laptop's wireline also lags if it was connected to wireless IP.
P.S. While I was doing the excercise above, I saw even more weird picture. The iperf to wireless and LAN IPs were giving exact same result of ~ 1 Gbps throughput, which is clearly cannot be the case for connection between wireless and LAN.
I'm a bit lost, seems like Linux sends all the traffic through one or another interface no matter what IP address was targetted by a TCP/IP session. Can anyone clarify this?
Thanks!
Last edited by lhog (2014-11-11 20:56:54)

crondog:
The issue is actually not the TCP/IP binding, which works well as expected, rather a loose behavior in L2/ARP domain. What linux essentially does whenever it has dilemma which of several interface to use from a number of interfaces in the same subnet/L2 domain, it uses the one pointed to by a default route. So it doesn't really matter if the L3 application targets one IP or another, the responding box can reply you using the other interface, though with originally targeted IP address.
Here are few links which might describe issue better and point out few solutions:
http://z-issue.com/wp/linux-rhel-6-cent … esnt-ping/
http://serverfault.com/questions/336021 … t-in-linux
http://serverfault.com/questions/415304 … ame-subnet
https://www.centos.org/forums/viewtopic.php?t=8401
http://www.linuxforums.org/forum/red-ha … issue.html
Last edited by lhog (2014-11-12 17:06:02)

Similar Messages

  • Open ports slow down my internet connection. How to close them? What to do?

    My MacBook Pro has massive problems with internet connectivity. At times the connection is blazingly fast, at times unbelievably slow.
    I've spoken to my internet provider who was able to inform me that my computer opens up 500-700 ports which is probably what's slowing down the network connectivity. When I'm online with the MacBook Pro, the web gets unstable – also for other connected devices like iPad etc.
    The web supporter asked me to run an anti-virus scan which I did – with no results. The problem persists. When my MacBook Pro is not online, there are approximately 15 ports open, when I log on the web that number increases to between 500 and 700.
    Is this normal?
    Can anyone tell me how to solve this issue?
    How do I figure out which application opens these ports? (and how to close them?)
    I tried logging into another user account on the computer and the problem seemed to disappear, indicating that it is caused by something run only on my user account.
    Hope someone can help me..

    Open ports don't slow down your computer. The tech support person you spoke to doesn't know what they are talking about.
    Basically, when you are using a web browser, opening a page means that the browser needs to open a connection for each element in the page (e.g., it needs to grab each picture, CSS, and JavaScript file that the page requires). This could be a couple of dozen, or it could be hundreds (and there's no telling what Flash content on the page will do). The browser tries to mitigate things a bit using a cache (you might check to make sure the cache is turned on, but this is the default setting). However, this is how all browsers work and how the whole system is designed to operate. You cannot "close" any ports, and they don't linger open, they remain open only as long as data is being transferred. This is expected and appropriate behavior.
    The most likely culprit is that you are receiving poor DNS service from your service provider. Every time the computer sees an address like 'http://www.google.com', it needs to send out a request to figure out what numerical address goes with the human-readable name. If the DNS service your system is assigned to use doesn't respond lightning-quick, your experience is going to be very sluggish.
    You might want to add an external DNS service to your list of DNS providers. Go to System Preferences > Network, select the network you are using on the left (Ethernet or AirPort), and click the 'Advanced' button. Click on the 'DNS' tab, then press the '+' button under the left panel. I would add the OpenDNS.com DNS servers. Add the following DNS addresses:
    {quote}
    208.67.222.222
    208.67.220.220
    {quote}
    Click the 'OK' button. And then the 'Apply' button to save the changes.
    That will probably fix the problem. If it doesn't the next most likely issue is either network congestion (e.g., your ISP's network is just too busy; a very common thing for small ISPs and cable Internet service), or the remote site that you are trying to contact is simply not performing so well.

  • Time Machine backups slow down TC internet connection

    I'm having a problem with my TC internet connection slowing down dramatically. When I connect my DSL modem directly to my Mini, it's fine. When I connect it to the TC there are big slow downs off and on. I'm wondering if the backups done by TM slow down the internet connection and the network as a whole.

    Over ethernet no, it would have almost no effect.. over wireless yes.. it can have a big effect.
    How big are the backups generally? These should only be incremental and relatively small.
    Measure your actual speed of copying a file to the TC.. if you can put numbers to it, that will help. Use the Activity Monitor and see what is the average speed copying a file or when TM is backing up.
    Any improvements to the wireless speed will reduce the time the backup runs and how much time your internet is slow. Wireless is highly range and signal dependent. You might find a network rearrangement where you use the TC close to the Mini can solve the issue.. especially if you can connect to it by ethernet.. and then wireless bridge if you need to.

  • I'm about to buy a 27" i-Mac. I would like to connect my 30" Cinema Display to it as a second monitor. What will I need to do that? Will this slow down the overal performance?

    I'm about to buy a 27" i-Mac. I would like to connect my 30" Cinema Display to it as a second monitor. What will I need to do that? Will this slow down the overall performance?

    The new iMacs do not come with a MiniDisplayPort, they have Thunderbolt, so unless you are talking about purchasing one of the previous generation iMacs such as this refurbished model in the online Apple store, it won't work. And yes, if you are going to get the full range of video resolutions you will need the Dual-Link version.
    For details see the store's web page on the Dual-Link display adapter.

  • HT1677 why when i connect safari to internet the other windows computers slow down the connection?

    why when i connect safari to internet the other windows computers slow down the connection?

    Your question has nothing to do with using iPhones in the Enterprise...which is the focus of this forum.  Suggest you post it in the OS X forums

  • Time Machine WIFI slows down and Fine after I unplug it?

    My Time Machine WIFI slows down to an absolute crawl and then after I unplug it and plug it back in, it's back to normal. Can someone help me?

    My Time Machine WIFI slows down to an absolute crawl and then after I unplug it and plug it back in, it's back to normal.
    This is a classic case of the effects of wireless interference from other networks around you. See the link at the bottom for more information about this.
    It might first help to understand why things improve when you unplug the Time Capsule and then power it back up. When you do this, the Time Capsule will scan to find the best available wireless channels to use at the time.
    Unfortunately, other wireless routers are doing the same thing all the time, so after a few hours or a day or two, the channel(s) that the Time Capsule was using become overcrowded and the wireless slows down to a crawl. Cordless phones can also create interference issues for a wireless network as well as any number of other electronic devices.
    Unless you can convince other users around you to turn off their wireless routers, there is not much that you are going to be able to do to come up with a permanent fix. For now, locate the Time Capsule as far away from any outside walls in your home as possible and use the 5 GHz band for as many connections as you can.
    A friend of mine who recently moved into a new apartment complex has the same problem. He has to restart his wireless router at least twice a day, sometimes more on the weekends.  Too many wireless networks.....not enough channels.
    Wi-Fi and Bluetooth: Potential sources of wireless interference - Apple Support

  • HT4863 I sent an email from my iPhone 3GS (via iCloud account) with around 16GB of attachment. It slowed down the phone for a few seconds, then appeared to be sent. However, the message is now not in the sent box, and I can't see an outbox at all. Any ide

    I sent an email from my iPhone 3GS (via iCloud account) with around 16GB of attachment. It slowed down the phone for a few seconds, then appeared to be sent. However, the message is now not in the sent box, and I can't see an outbox at all. Any ideas?

    That changes things a little bit , login to icloud.com and see if you can find it in your sent folder.
    If it is there you did send, just need to wait until you phone syncs "sent folder" perhaps on wifi.
    If it is not, then I would say it is lost and you may have to send again. They have 20 megs limit, so make sure that message plus attachment is under that limit.

  • Messages are in to be delivered state and slows down the message processing

    Hello,
    Messages are in to be delivered state and slows down the message processing.
    this happenens in case of DB2 on some machine where the issue about high load on DB2  is caused by standard programming in SAP XI that executes a statement, where it uses the condition 'where 1<0' prio to the original  SQL statement configured in the channel configuration,
    Can you please help me out in solving this issue?
    Thanks,
    Soorya

    Status: TO_BE_DELIVERED
    Which means that the message was successfully delivered from Integration Server point of view and it states that the messages is initially handed over to the Messaging System.
    TO_BE_DELIVERED occurs while the message is put into the Messaging System receive queue.
    Solution:
    This is done via the Messaging System receive servlet:
    http://<Host>:<PORT>/MessagingSystem/receive/<CONNECTION>
    /<PROTOCOL>
    Only if this was executed successfully the Messaging System returns HTTP 200 to the Integration Server and the Status TO_BE_DELIVERED moves to DELIVERING
    1. Try logging into Sap GUI with two users: XIAPPLUSER & XIAFUSER
    to see if they are blocked
    2. We can check the messages:
    AdapterFramework
    com.sap.aii.adapterframework.serviceuser.language
    com.sap.aii.adapterframework.serviceuser.name = XIAFUSER
    com.sap.aii.adapterframework.serviceuser.pwd
    ApplicationSystem
    com.sap.aii.applicationsystem.serviceuser.language
    com.sap.aii.applicationsystem.serviceuser.name = XIAPPLUSER
    com.sap.aii.applicationsystem.serviceuser.pwd
    in the exchange profile to make sure the right passwords

  • Outlook 2010 - User tends to open many emails at a go but this may slow down the machine.

    Hi,
    My user tends to have this work habit of opening 8-10 emails at one go. She view this way of working as more efficient and faster. But this means that if outlook crashed, all the emails will be close as well, and this way of working tends to slow down the
    machine.
    Is there any way Outlook can users to open multiple emails without hording CPU page milage?
    Thank you.

    Hi Josh,
    Slow Outlook can be also harmful for your database and there are numbers of factor which slow down the MS-Outlook like:
    * Third Party Plug-ins
    * Slow internet connection
    * Antivirus/ Firewall Programs
    * Corruption or Error within Outlook
    So always try to open Microsoft Outlook in safe mode whenever you stuck in such problems. 
    How to optimize Outlook performance:
    * By Disabling add-ins
    * Check default account settings
    * Disabling Scanning programs
    * Scanpst.exe (Inbox Repair Tool)
    For more brief about Outlook disturbance and solutions:
    http://support.microsoft.com/kb/813514
    Note: Improve community discussions by marking the answers helpful.
    Thanks
    Clark Kent

  • HP Pavilion Entertainment PC: WiFi works, however, hard wired connection does not work.

    Internet via WiFi works, however, hard wired connection does not work.
    My software indicates my hardware is working properly.
    However, if I connect another computer to the cable I am using, it connects to the internet without a problem.
    And, if I connect my comupter to another cable that works with another computer, my computer still does not connect to the internet.
    HP Pavilion dv9700 Notebook PC
    32-bit Operating System
    Windows Vista Home Premium Service Pack 2

    It could be that the touch pad is broken on the inside and the contact area for the one button is either broken, blocked with an object or the cable going to the mother board is not inserted correctly into the mother board connector. I think in any case the case will have to come off and someone look for physical/connection problems.  It doesn't sound like a software problem but there is always a chance.
    Reminder: Please select the "Accept as Solution" button on the post that best answers your question. Also, you may click on the white star in the "Kudos" button for any helpful post to give that person a quick thanks. These feedback tools help keep our community active, so you receive better answers faster.

  • I just upgraded to Maverick on my2 year old Macbook Pro and it has slowed down the computer terribly.  All I see is that whirling circle every time I do anything.  How do I go back to old OS.  Terrible upgrade -- forces you to buy a new Mac!!!!

    I just upgrade to Maverick on my 2 year old MacBook Pro and it has slowed down the computer terribly.  All I see every time I do anything is that crazy circle going round and round.  I don't recommend you upgrading.  How do I get rid of it.  I believe it forces you to buy a new macbook!!!!

    It does not. First things first have you tried restarting?
    Try restting PRAM
    http://support.apple.com/kb/HT1379
    Try booting up in Safe Mode
    http://support.apple.com/kb/HT1455
    Also open "activity monitor" and look and see what is using a lot of processing power.

  • How can i fix my mac book pro i bought in mid 2010, it is slowing down. the pin wheel does spin a alot.

    how can i fix my mac book pro i bought in mid 2010, it is slowing down. the pin wheel does spin a alot.

    try this;
    open disk utility - verify disk permissions - repair disk permissions if errors are found.  might take an hour or less - depending on how much errors needs to be repaired.
    restart your macbook and see if that sorts it out for you.
    also check your hard drive space.  if your hard drive is almost full, that will also contribute to your macbook getting slower....
    good luck

  • Is there a way to slow down the playback of video in Captivate 5?

    I just made several recordings (FMR) and would like to slow them down for the viewer.  The video was actually of someone else's software demo that moved way too fast.  On the Captivate skin there is "2x" to move the video twice as fast, but no "1/2x".  Is there another way to slow down the video?
    Thank you!

    No.  Not there.  Honest.
    When I go to  Edit + Preferences, I see a menu on the left.
    General Settings:
    Show Welcome Screen (checked)
    Generate Project Backup (unchecked)
    Default Locations (I set this to my output folder)
    Project Cache (I set this to my C:\ drive)
    Comments At:  (blank)
    Grid Size: 16
    Spelling Preferences
    Confirmation Messages
    Defaults:
    Background Color: white
    Object Defaults:
    Select: Text Caption (or highligh box, or image, or smart shape)
    Display For: Specific Time   3 secs
    Default Style: Default Caption Style
    Restore Selected Button
    Restore All Button'
    General
    Autosize buttons
    Autozize Captions
    Calculate Caption Timing
    Recording:
    Settings:
    Generate Captions in: English
    Audio Options:
    Narration
    Actions in Real Time
    Camera Sounds
    Hide:
    Recording Window
    Task Icon
    System Tray Icon
    Others: Move New Windows Inside recording Area
    Smoothen movements for:
    Drag and Drop Actions
    Mouse Wheel Actions
    Video Demo Settings button:Video Demo Recording
    Show mouse in video demo mode
    Working folder (mapped to my C:\ drive)
    Keys
    To stop recording: End
    For Automatic panning: F4
    For Manual Panning: F3
    To stop panning: F7
    To snap recording window to mouse: F11
    To toggle mouse capture in video mode: F12
    restore Defaults button
    Project
    Information
    Author
    Company
    E-mail:
    Website:
    Copyright:
    Project Name:
    Description:
    Publish Settings:
    Include Audio (checked)
    Publish Audio as Mono (checked)
    I don't see anything in the whole menu that says anything about fps.  What am I missing?  Thanks!

  • How can I slow down the playback speed of selected parts of a captivate video?

    Hi everybody,
    I'm pretty new to Captivate and although it offers some great tools, there is something that I just can't get to work:
    I'm creating a video tutorial about how to use a website i'm working with so I've tried using "Automatic" ("Demo" mode chosen) recording option which is recommended for this type of video. However, the video recorded has a different playback speed than the amount of time I recorded. This means that some of the slides have a quicker playback speed than the way I recorded, thereby not leaving enough time to show the given feature.
    The recording mode with the most "true" playback was "Full motion". However, I would still like to be able to slow down selected parts of the video, but can only find guides on how to slow down the entire presentation.
    Can you please advise me on how to slow down only selected parts of the project? If this is not possible in Captivate, please advise me on which video editing software (where you can slow down the playback speed on selected parts of the video) is compatible with Captivate 5?
    Thanks!

    Thank you. Andrew Kramer's Video Copilot video, which I somehow managed to miss, was very helpful.
    I had a 79 second clip which I precomposed and enabled time remapping. But I have 12 places where I need to slow down the layer. After a while, I was runing out of room to add more keyframes using the method promoted in many videos and instruction sites (grab the last two keyframes, including the end frame, and drag).
    In reality, you can add keyframes wherever you like and you can adjust them however works best within the existing timeline without messing with the duration, etc.
    Much appreciated.
    Paul

  • Slowing down the music in Logic Express

    Is it possible to slow down music without bringing down the pitch, like amazing slow downer does?
    Thanks, Frans
    Powerbook   Mac OS X (10.4.3)  

    Slowing down the music on the same pitch is easy...when you know it. I found that when you check the box "follow tempo" the tempo of the song can be adjusted in the transport window. And then the music will be slowed down on the same pitch to the preferred speed. Very useful when you have to study on a Charlie Parker solo. Now I can make a start to actually understand what the man was really doing.
    Powerbook   Mac OS X (10.4.3)  

Maybe you are looking for

  • Bridge JMS on SSL Mutual authenticathed Servers

    Hi all,           I'm facing a problem on bridging JMS message with WLS bridge on SSL Mutual authenticathed Servers           I configured two WLS (8.1 SP6), say "ALICE" and "BOB", with SSL listen port and I enabled "Two Way Client Cert Behavior" wit

  • Get rid of yahoo search.. return to google search NOT GOOGLE CHROME

    Something happened with last mozilla update. I keep getting yahoo search in my search engine box, and under the tools option box, there is no option to select browser access anymore. another confusion is between the search engine used and the browser

  • Running Elements Mac on 2 screens

    I'm learning Photoshop Elements 6 on Mac OSX. Everything is basically OK but I need to ask these 2 questios: I have 2 monitors and have Elements open on 1 and a tuition video on the second. Everytime I click on the video to play a bit more, photoshop

  • Image color in jpeg doesn't match backround color in web page

    I made a simple panel in photoshop and used the #number for the color selected to fill one side of the panel in my CSS code. When the page is rendered there's a very slight difference between the panel and the background which I expect to be exactly

  • TS1544 i forgot my account password and my keychain password on macbook.. what should i do?

    so i'm going to download OS X Mountain Lion on my macbook pro, then it asks me to type my password to allow instal OS X Mountain Lion but i forgot my password... what should i do?