LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 04-27-2007, 10:10 AM   #1
lali.p
Member
 
Registered: Jan 2007
Distribution: Slackware 11.0
Posts: 141

Rep: Reputation: 16
Question Why less Bandwidth on Slackware(Linux)


Hi i am running Xp and Slackware 11.0 dual boot.
Also i got a 2mbps ADSL broadband connection.
I use Roaring Penguin to connect to internet in Slackware. However the problem is that @ XP my download speed is nearly 2mbps whereas in Slackware it consistently gives 1mbps or less.

I guess i need to tweak a setting to get the speed ?
so i need help from you all guys
As a matter of fact i was able to establish an internet connection in Slackware after 3 days of frustration and with the help from you people(thats a 2 month old story however but still thanks for that)

Any suggestions ?
 
Old 04-27-2007, 10:12 AM   #2
jeenam
Member
 
Registered: Dec 2006
Distribution: Slackware 11
Posts: 144

Rep: Reputation: 15
What speed is your NIC running at? Is it at 100mb/s full duplex?

ethtool eth0
 
Old 04-27-2007, 10:20 AM   #3
unixfool
Member
 
Registered: May 2005
Location: Northern VA
Distribution: Slackware, Ubuntu, FreeBSD, OpenBSD, OS X
Posts: 781
Blog Entries: 8

Rep: Reputation: 157Reputation: 157
Quote:
Originally Posted by lali.b2
Hi i am running Xp and Slackware 11.0 dual boot.
Also i got a 2mbps ADSL broadband connection.
I use Roaring Penguin to connect to internet in Slackware. However the problem is that @ XP my download speed is nearly 2mbps whereas in Slackware it consistently gives 1mbps or less.

I guess i need to tweak a setting to get the speed ?
so i need help from you all guys
As a matter of fact i was able to establish an internet connection in Slackware after 3 days of frustration and with the help from you people(thats a 2 month old story however but still thanks for that)

Any suggestions ?
I would say that your XP readings are overly optimistic (I've seen this before with Windows OSs).

What are you using to get your measurements?
 
Old 04-27-2007, 10:34 AM   #4
rob.rice
Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 784

Rep: Reputation: 104Reputation: 104
all I had to do to get my ADSL connection up and running was to edit /etc/rc.d/rc.modules-*
to load the module for my NIC then edit /etc/rc.d/rc.inet1.conf and changed the line USE_DHCP[0]="" to USE_DHCP[0]="yes"
now my 600Mhz slack machine downloads at 350 KBS the 1.2Ghz XP machine sitting next to it can't do better than 162 KBS

may be Roaring Penguin is the problem
most of the time the simplest sloution is the best

as with any file in /etc make backup copys BEFOR you edit them

Last edited by rob.rice; 04-27-2007 at 10:40 AM.
 
Old 04-27-2007, 10:43 AM   #5
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 800

Rep: Reputation: 100Reputation: 100
nic offloading?

I'm not sure how much it helps, but I have a 5mbps cable connection and with the dma offloading enabled in the kernel I get on average 603 KB/sec down.
 
Old 04-27-2007, 10:56 AM   #6
unixfool
Member
 
Registered: May 2005
Location: Northern VA
Distribution: Slackware, Ubuntu, FreeBSD, OpenBSD, OS X
Posts: 781
Blog Entries: 8

Rep: Reputation: 157Reputation: 157
Quote:
Originally Posted by manwichmakesameal
I'm not sure how much it helps, but I have a 5mbps cable connection and with the dma offloading enabled in the kernel I get on average 603 KB/sec down.
Using the default Slack kernel settings, I'm getting over 15mb/s down, on all of my systems.

What are you guys using to test your bandwidth?
 
Old 04-27-2007, 11:20 AM   #7
rob.rice
Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 784

Rep: Reputation: 104Reputation: 104
Quote:
Originally Posted by manwichmakesameal
I'm not sure how much it helps, but I have a 5mbps cable connection and with the dma offloading enabled in the kernel I get on average 603 KB/sec down.
same NIC in both computers but the windows driver dosn't work with DMA set to
on in the NICs preboot configuration menu
 
Old 04-27-2007, 11:25 AM   #8
rob.rice
Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 784

Rep: Reputation: 104Reputation: 104
Quote:
Originally Posted by unixfool
Using the default Slack kernel settings, I'm getting over 15mb/s down, on all of my systems.

What are you guys using to test your bandwidth?
my speed is from gftp , mozilla and mc doing a large download

what kind of connection do you have ?

Last edited by rob.rice; 04-27-2007 at 11:28 AM.
 
Old 04-27-2007, 12:08 PM   #9
unixfool
Member
 
Registered: May 2005
Location: Northern VA
Distribution: Slackware, Ubuntu, FreeBSD, OpenBSD, OS X
Posts: 781
Blog Entries: 8

Rep: Reputation: 157Reputation: 157
Quote:
Originally Posted by rob.rice
my speed is from gftp , mozilla and mc doing a large download

what kind of connection do you have ?
Verizon FIOS.

I'm testing with Speakeasy's speed test, although when downloading I'm usually within the 600KB/s range, depending on the endpoint's throttling (I get tons more throughput when I connect to an open-ended server for downloads).

I've seen discrepancies with Windows' measurements. It appears that half the time, the measurements are flawed when comparing the results with a *nix machine doing the same download or test. I'm wondering how Windows software measures bandwidth.

Last edited by unixfool; 04-27-2007 at 12:18 PM.
 
Old 04-27-2007, 02:25 PM   #10
rob.rice
Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 784

Rep: Reputation: 104Reputation: 104
I could be that the stop and paride bits along with packet formating are counted in windows speed tests
not just data bits like unix
 
Old 04-28-2007, 12:10 AM   #11
lali.p
Member
 
Registered: Jan 2007
Distribution: Slackware 11.0
Posts: 141

Original Poster
Rep: Reputation: 16
Question

Quote:
I would say that your XP readings are overly optimistic (I've seen this before with Windows OSs).

But the thing is i'musing the website provided by my ISP for testing speeds. I am using mozilla on both XP and Slackware 11.0 for testing speed on that website.
Its a 2mbps connection and in XP i almost get 2mbps whereas in Slackware it's sometimes really slow and drops to even 100kbps.
Moreover i recently upgraded to 2.6.20.6 and have tweaked it as well.So what do you say ?

Sorry for my late reply(internet on this part of the planest is a luxury :P)


Any suggestions ?
 
Old 04-28-2007, 02:18 AM   #12
acummings
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 615

Rep: Reputation: 49
Just out of curiosity:

I wonder what outcome you'd get if you tried the Konqueror web browser. And in the options, (for that www site url) set Konqueror to send an MS Windows web browser identity string (say, Win 2000 or Win XP MSIE browser ID string).

As in (rarely) I decide that it's not a web site's business to rely on various different browser ID strings that they receive as being authentic (it's an easily fooled thing).

They (the www site page) might not be but they might be checking the web browser ID string (such string also includes which OS, Linux or MS Windows -- unless you change it as I listed that Konqueror can do).

--
Alan.
 
Old 04-28-2007, 08:58 AM   #13
rob.rice
Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 784

Rep: Reputation: 104Reputation: 104
Quote:
Originally Posted by acummings
Just out of curiosity:

I wonder what outcome you'd get if you tried the Konqueror web browser. And in the options, (for that www site url) set Konqueror to send an MS Windows web browser identity string (say, Win 2000 or Win XP MSIE browser ID string).

As in (rarely) I decide that it's not a web site's business to rely on various different browser ID strings that they receive as being authentic (it's an easily fooled thing).

They (the www site page) might not be but they might be checking the web browser ID string (such string also includes which OS, Linux or MS Windows -- unless you change it as I listed that Konqueror can do).

--
Alan.
I have seen this on micro$oft network free web pages thay just cant be viewed with anything BUT internet exploiter or at least the web site thinking it's internet exploiter even on windblows it may tack 10 minutes to download the page with mozilla even then it will not display correctly
photos overlaping text overlaping text but it works just fine in exploiter
 
Old 04-28-2007, 10:00 AM   #14
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Rep: Reputation: 292Reputation: 292Reputation: 292
Quote:
Originally Posted by manwichmakesameal
I'm not sure how much it helps, but I have a 5mbps cable connection and with the dma offloading enabled in the kernel I get on average 603 KB/sec down.
Whereabouts is that setting? Don't see anything in Networking or looking through .config.

Not really a problem but I'm always looking for new tweaks to play with.
 
Old 04-29-2007, 06:16 PM   #15
rob.rice
Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 784

Rep: Reputation: 104Reputation: 104
Quote:
Originally Posted by dive
Whereabouts is that setting? Don't see anything in Networking or looking through .config.

Not really a problem but I'm always looking for new tweaks to play with.
in 2 places
1 some NICs have a pre boot configuration menu you turn it off and on there
then
2 as a pramiter to the module you load to drive the NIC the ones that can do it have a DMA=? you will have to read the kernel DOCs for the NIC in question
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Default Bandwidth Restriction in Slackware? lobotomy42 Slackware 7 05-07-2006 03:04 PM
Vsftpd - how to limit download bandwidth but unlimited upload bandwidth? mpls mikeg Linux - Software 3 08-13-2005 01:52 PM
Bandwidth Shaping With Linux dev_rhce Linux - Networking 2 08-05-2005 01:24 PM
bandwidth management in linux basbosco Linux - Networking 5 12-31-2003 03:18 PM
bandwidth management in linux basbosco Linux - Networking 1 11-06-2003 07:30 AM


All times are GMT -5. The time now is 09:58 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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration