www.pegasos.org :: View topic - Peg2 irq sharing cause network unstability?
http://www.ggsdata.se
Home   News   Forum   Gallery   
Search 
Login




 


 Log in Problems?
 New User? Sign Up!

Navigation

Online
Currently no members online:)

You are an anonymous user. You can register for free by clicking here
There are 1 unlogged users online !

Latest Web Links

Latest Downloads

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
christianwn
Post subject: Peg2 irq sharing cause network unstability?  PostPosted: Apr 05, 2006 - 22:20
Newbie


Joined: Apr 05, 2006
Posts: 6

I have been using the peg2 for about a year. I must say it is a great system.

But there is one problem which have troubled me grately, it is network speed / stability.
When I download or upload from my home server(freebsd)(or internet) on a 100mbit line full-duplex auto neg. using a switch, I get at first good speed, 4 to 5 MB/sec and after a little while(random) the speed drops to under 100kb/sec and even sometimes stalling.
I have done every trick I have found on internet to solve this problem but nothing has helped. Short list: SMB/CIFS vs NFS, every sysctl option possible on both linux and freebsd, linux kernel 2.6.9 to 2.6.14, network full-duplex half-duplex auto, tried 2 switch'es, using shielded netcable, tried 3 different nic's also changeing the one on the server (Realtek, 3com, Intel, Via), linux kernel: different Timer frequency, Preemption Model etc...

cat /proc/interrupts

CPU0
1: 10105 i8259 Edge i8042
2: 0 i8259 Edge 82c59 secondary cascade
9: 1192717 i8259 Edge uhci_hcd:usb1, uhci_hcd:usb2, EMU10K1, EMU10K1, VIA686A, eth0, radeon@pci:0000:01:08.0
14: 129204 i8259 Edge ide0
15: 62 i8259 Edge ide1
BAD: 0

------------------------------------------------------------
Look at all the devices on the same irq!

On a "normal" computer I always set every card or onboard device to a different irq, can this be the problem?
Is there a setting in the peg2 bios or linux to change irqs?

There is one last odd thing, I can not get the rtc to work.

Everything else works stabile fast and without problems.


Hope somebody can help me, and 10k thanks in advance!
Christian
 
 View user's profile Send private message  
Reply with quote Back to top
Trizt
Post subject: RE: Peg2 irq sharing cause network unstability?  PostPosted: Apr 06, 2006 - 03:00
Order of the Butterfly
Order of the Butterfly


Joined: Sep 08, 2003
Posts: 1370
Location: EU
No, it's not true that on a BIOS machine you get different irq for every card, as there are limited amount of them and you will fill them up quite fast with the built in stuff.

I'm more starting to thinnkng the problem really is the IDE, I did switch from the internal gigabit nic to a pci one and I halfed the "stops" to like half on my NFS. Next I'm thinking of trying a pci IDE for the LVM I share over NFS and see if that removes the rest of the troubles. You can ignore the switch part, you have this on a direct connection too.

_________________
Join the Pegasos.Org Team at Seti@Home.
 
 View user's profile Send private message MSN Messenger ICQ Number 
Reply with quote Back to top
ironfist
Post subject: RE: Peg2 irq sharing cause network unstability?  PostPosted: Apr 06, 2006 - 03:03
Order of the Pegasos
Order of the Pegasos


Joined: Jan 22, 2004
Posts: 2517
Location: Göteborg
Do you get the same results with the onboard gigabit port?
 
 View user's profile Send private message ICQ Number 
Reply with quote Back to top
lisardman
Post subject: RE: Peg2 irq sharing cause network unstability?  PostPosted: Apr 06, 2006 - 03:08
Order of the Butterfly
Order of the Butterfly


Joined: Jan 14, 2004
Posts: 1940
Location: Karlsborg,Sverige
how are your pegasos attatched to the network

_________________
RR!
 
 View user's profile Send private message Visit poster's website ICQ Number 
Reply with quote Back to top
christianwn
Post subject:   PostPosted: Apr 06, 2006 - 23:32
Newbie


Joined: Apr 05, 2006
Posts: 6

>Do you get the same results with the onboard gigabit port?

I have compiled support for the gigabit port, just now, need more time to see longterm operation. Now it gives me 1,2Mb/sec stable using 75-90% of cpu. After a while, the hole X crashed, but I'm using X 7.0, I think some crashes are to be expected.


One thing to note, is that watching movies from the server seems to really make the network slow. This is one sign for me about some irq conflict because the sound-card, video card and net-card operate at the same time using the same irq. Even alsa recommends setting the soundcard on a singel irq.
But watching movies via the hdd work flawlessly!


>how are your pegasos attatched to the network

First I used the 100mbit onboard port, then I tried using 3 different pci nic's 3com, Intel Pro 100 and Realtek. They gave all the exact same result. Using cables and switch.


About irq on bios pc's. With lots of onboard devices it gets harder and harder to give every device a singel irq. But reading the mainboard manual, some mainboards have still got some agp and pci ports that can get a singel unshared irq. Not all devices get an irq, I know.
But I have had lots of experience with irq conflicts.

About hdd's. I have tried Seagate and Western digital, both with udma on. Only using the onboard controller. This has not affected network performance.


Thank you all so far
Christian
 
 View user's profile Send private message  
Reply with quote Back to top
christianwn
Post subject:   PostPosted: Apr 06, 2006 - 23:43
Newbie


Joined: Apr 05, 2006
Posts: 6

After a fresh restart transfering files from the server via smbfs (not cifs) gives better performance right away 4-5Mb/sec. After surfing the internet, listening to some music etc... the network drops to 1,2Mb/sec.
Cifs gives after a fresh restart 1,2Mb/sec.

Just a detail
Regards Christian
 
 View user's profile Send private message  
Reply with quote Back to top
gunne
Post subject:   PostPosted: Apr 07, 2006 - 08:50
Order of the Pegasos
Order of the Pegasos


Joined: Aug 16, 2003
Posts: 2538
Location: Göteborg
christianwn,

> I have compiled support for the gigabit port, just now, need more time to see longterm operation.

------------------------

May I ask for what reason You do compile kernels ?

Why not use the kernel thats included with your choice of distribution ?

_________________
Mvh Gunne
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
dholm
Post subject:   PostPosted: Apr 07, 2006 - 09:19
Order of the Butterfly
Order of the Butterfly


Joined: Aug 26, 2003
Posts: 1784
Location: Malmö
gunne wrote:

May I ask for what reason You do compile kernels ?

Why not use the kernel thats included with your choice of distribution ?

Maybe the distribution he is using is based on a system where you compile your own kernel or maybe it's LFS?
Besides, there are a lot of options in the kernel which will actually impact your system in a noticeable way. No distribution could supply binaries to tend to all variations of configuration. You should know this considering you claim to be selling Linux systems.

_________________
I need this baby in a month send me nine women!
 
 View user's profile Send private message Send e-mail Visit poster's website ICQ Number 
Reply with quote Back to top
gunne
Post subject:   PostPosted: Apr 07, 2006 - 09:31
Order of the Pegasos
Order of the Pegasos


Joined: Aug 16, 2003
Posts: 2538
Location: Göteborg
dholm,

> You should know this considering you claim to be selling Linux systems.

--------------------------------------------------

Sure, I know this.

My question was directed too christianwn.

_________________
Mvh Gunne
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
dholm
Post subject:   PostPosted: Apr 07, 2006 - 10:38
Order of the Butterfly
Order of the Butterfly


Joined: Aug 26, 2003
Posts: 1784
Location: Malmö
Then why ask?

_________________
I need this baby in a month send me nine women!
 
 View user's profile Send private message Send e-mail Visit poster's website ICQ Number 
Reply with quote Back to top
gunne
Post subject:   PostPosted: Apr 07, 2006 - 11:37
Order of the Pegasos
Order of the Pegasos


Joined: Aug 16, 2003
Posts: 2538
Location: Göteborg
dholm,

> Then why ask?

----------------------------

I do not understand why You wonder at all.

I ask the question to christianwn, because I wonder what his reason is.

There is no point in guessing for wild as You do in Your post above.

_________________
Mvh Gunne
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
dholm
Post subject:   PostPosted: Apr 07, 2006 - 12:23
Order of the Butterfly
Order of the Butterfly


Joined: Aug 26, 2003
Posts: 1784
Location: Malmö
It's an educated guess and you know it.
What is wrong with the phpBB system of quoting?

_________________
I need this baby in a month send me nine women!
 
 View user's profile Send private message Send e-mail Visit poster's website ICQ Number 
Reply with quote Back to top
ironfist
Post subject:   PostPosted: Apr 07, 2006 - 12:55
Order of the Pegasos
Order of the Pegasos


Joined: Jan 22, 2004
Posts: 2517
Location: Göteborg
I moved the topic to the correct forum.

ChristianWn: Why do you have VIA686A on IRQ9? AFAIK
the Pegasos southbridge is VIA82x?
 
 View user's profile Send private message ICQ Number 
Reply with quote Back to top
Trizt
Post subject:   PostPosted: Apr 07, 2006 - 17:10
Order of the Butterfly
Order of the Butterfly


Joined: Sep 08, 2003
Posts: 1370
Location: EU
christianwn wrote:
After a fresh restart transfering files from the server via smbfs (not cifs) gives better performance right away 4-5Mb/sec. After surfing the internet, listening to some music etc... the network drops to 1,2Mb/sec.
Cifs gives after a fresh restart 1,2Mb/sec.


IMHO this seems to be quite slow speeds, think my A1200 with a PCMCIA 10Mbit card did get to a 2/3 of the speed you get on cifs. On NFS I do run somwhere between 20-30Mb/s with a break in transfer once in a while, before it resumes around 18Mb/s.

_________________
Join the Pegasos.Org Team at Seti@Home.
 
 View user's profile Send private message MSN Messenger ICQ Number 
Reply with quote Back to top
kozz
Post subject:   PostPosted: Apr 07, 2006 - 19:46
Butterfly
Butterfly


Joined: Aug 16, 2003
Posts: 883
Location: Göteborg
I'm also using NFS on the Pegasos and always get about 10-11 MB/s... yes I only have 100MBit and not 1GBit as trizt but still 4-5 MB/s seems way to slow.

I don't think it is an IRQ issue, all pegs are setup in the same way and they work Smile Do you get the same speed with an other computer and the same cables etc?

_________________
Programmers are tools for converting caffeine into code.
 
 View user's profile Send private message Send e-mail Visit poster's website MSN Messenger ICQ Number 
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits
All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2004-2012 by pegasos.org

backend|avantgo