Hello, I have a problem with the latency of the packets passing a Linux router, and I thought perhaps you could put some light on it. It''s quite simple. I have one ADSL connection, and a LAN. The gateway is the Linux machine or a Windows XP machine. When the wXP is routing, for a host inside the LAN, the latency of, for example, the Counter Strike game to a given server is around 20 to 30 ms. When the Linux box is routing, the latency of the same game to same server increases to 60 to 80 ms. Even pinging that server''s IP you can see the same difference. This is a hard blow for me, I''m a Linux fan, and I thought Linux was going to perform better than Windows. For testing I have disabled firewall, bandwidth limiting, everything except NAT, which is done by masquerading. Also tried SNAT, same result. I''m using the 2.4.22 kernel. Thanks in advance. Ernesto. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Wed, Jun 02, 2004 at 03:01:37PM -0000, donsapo@artquitect.com.ar wrote:> Hello,hi> When the wXP is routing, for a host inside the LAN, the latency of, for > example, the Counter Strike game to a given server is around 20 to 30 ms. > When the Linux box is routing, the latency of the same game to same server > increases to 60 to 80 ms. Even pinging that server''s IP you can see the same > difference.This sounds more like a duplex mismatch or IRQ problems. What''s the card?> Ernesto.Bye, Peter Surda (Shurdeek) <shurdeek@routehat.org>, ICQ 10236103, +436505122023 -- chown -R us ~your/*base* _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>> When the wXP is routing, for a host inside the LAN, the latency of, for >> example, the Counter Strike game to a given server is around 20 to 30 ms. >> When the Linux box is routing, the latency of the same game to same server >> increases to 60 to 80 ms. Even pinging that server''s IP you can see the same >> difference.>This sounds more like a duplex mismatch or IRQ problems. What''s the card?From dmesg: via-rhine.c:v1.10-LK1.1.17 March-1-2003 Written by Donald Becker http://www.scyld.com/network/via-rhine.html eth0: VIA VT6102 Rhine-II at 0xdc00, 00:0a:e6:a1:d9:01, IRQ 5. eth0: MII PHY found at address 1, status 0x786d advertising 05e1 Link 45e1. eth0: Setting full-duplex based on MII #1 link partner capability of 45e1. What is a duplex mismatch? Thanks. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> From dmesg: > > via-rhine.c:v1.10-LK1.1.17 March-1-2003 Written by Donald Becker > http://www.scyld.com/network/via-rhine.html > eth0: VIA VT6102 Rhine-II at 0xdc00, 00:0a:e6:a1:d9:01, IRQ 5. > eth0: MII PHY found at address 1, status 0x786d advertising 05e1 Link 45e1. > eth0: Setting full-duplex based on MII #1 link partner capability of 45e1. > > What is a duplex mismatch? >when two side of a link use different duplex setting did you tried with another NIC card , via isn`t a fine chip i think _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>What is a duplex mismatch? > >When the duplex setting of your connection aren''t matched....! :-) Google is very useful for finding out about stuff. Try links 2,3 and onwards http://www.google.com/search?sourceid=navclient&ie=UTF-8&oe=UTF-8&q=duplex+mismatch However, if you have even a budget "switch" in between these two machines then this would fix the problem. Note that a "hub" will not fix the problem though. Ed W _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Sat, 2004-06-05 at 15:06, Ed Wildgoose wrote:> >What is a duplex mismatch? > > > > > > When the duplex setting of your connection aren''t matched....! :-) > > Google is very useful for finding out about stuff. Try links 2,3 and > onwards > http://www.google.com/search?sourceid=navclient&ie=UTF-8&oe=UTF-8&q=duplex+mismatch > > However, if you have even a budget "switch" in between these two > machines then this would fix the problem. Note that a "hub" will not > fix the problem though.well technicaly then you can have duplex mismatch between the nic and the switchport.. i have seen this several times using different equipment. one other things that i have noticed can impact your network is nic''s that use software crc vs real Network cards (rtl8139 jumps to mind, dont know about the rhino ones), software crc makes the bus/cpu work a lot harder then a nick with incorperated crc, you will notice the difference on your cpu usage. would be nice to hear if you found your problem. mvh -- Ronny Aasen <list@datapart-as.no> _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Friday 04 June 2004 10:13, donsapo@artquitect.com.ar wrote:> > From dmesg: > > via-rhine.c:v1.10-LK1.1.17 March-1-2003 Written by Donald Becker > http://www.scyld.com/network/via-rhine.html > eth0: VIA VT6102 Rhine-II at 0xdc00, 00:0a:e6:a1:d9:01, IRQ 5. > eth0: MII PHY found at address 1, status 0x786d advertising 05e1 Link 45e1. > eth0: Setting full-duplex based on MII #1 link partner capability of 45e1. > > What is a duplex mismatch?run mii-tool and see how your card is set up. Paulo _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
donsapo@artquitect.com.ar wrote:> Hello, I have a problem with the latency of the packets passing a Linux router, and I thought perhaps you could put some light on it. > It''s quite simple. I have one ADSL connection, and a LAN. The gateway is the Linux machine or a Windows XP machine. When the wXP is routing, for a host inside the LAN, the latency of, for example, the Counter Strike game to a given server is around 20 to 30 ms. When the Linux box is routing, the latency of the same game to same server increases to 60 to 80 ms. Even pinging that server''s IP you can see the same difference. > This is a hard blow for me, I''m a Linux fan, and I thought Linux was going to perform better than Windows. > For testing I have disabled firewall, bandwidth limiting, everything except NAT, which is done by masquerading. Also tried SNAT, same result. > I''m using the 2.4.22 kernel.Is the dsl modem ethernet - if it is I would consider asking the maintainer of the driver for your card. Details in the kernel docs/source. I get 20 - 30 ms in Half Life OK using a P200 linux gateway doing NAT etc. You could also try a newer Kernel. Andy. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/