Re: CPU Utiliaztion on a ethernet bridge

2003-11-19 Thread Simon Allard

I have replaced NIC's as I thought it might of been the drives also. I
moved to the eepro100 cards. Same problem.

What kernel are you using? I have tried 2.4.19 and 2.4.22.


> I'm running the same scenario here on a ppro 200 except that I'm using
> 2x3c905btxm cards for the briding instead of the one dual card. If I
> flush all firewall rules i get a throuput of about 95MBit with a
> cpu-load of constantly under 8%. With all firewall rules i get about
> 85MBit and the cpu-load is far away from 50%. The bottleneck is the
> memory timing.
> Have you tried your setup with two nics as well? I would suggest the
> problem is the NIC or the driver therefor.
>
> Cheers,
> Michael
>
>
> Simon Allard schrieb:
>
> > I have setup a linux box with a 2.4.19 kernel. I am bridging 2 ethernet
> > devices together using 3Com PCI 3c982 Dual Port cards. (3c59x).
> >
> > What I am seeing is that the module itself uses 30% of CPU to handle just
> > 10mbit both ways (20mbit total). ~6000ps total. From what I have read on
> > the bridge homepages I should be able to run this on a 486 as CPU has
> > nothing to do with it. What am I doing wrong?
> >
> >
> > bridge:~# brctl show
> > bridge name bridge id   STP enabled interfaces
> > br0 8000.000475c9a6f9   yes eth1
> > eth2
> >
> >
> > bridge:~# lsmod
> > Module  Size  Used byNot tainted
> > limiter13064   0  (unused)
> > bridge 16748   1
> > 3c59x  25512   2
> > sis900 12388   1
> >
> >
> >
> > bridge:~# cat /etc/modules
> > # /etc/modules: kernel modules to load at boot time.
> > #
> > # This file should contain the names of kernel modules that are
> > # to be loaded at boot time, one per line.  Comments begin with
> > # a #, and everything on the line after them are ignored.
> > sis900
> > 3c59x options=4,4,4,4 full_duplex=1,1,1,1 max_interrupt_work=1
> > bridge
> > limiter
> >
> >
> > in /etc/network/interfaces
> > auto eth1
> > iface eth1 inet loopback
> >
> > auto eth2
> > iface eth2 inet loopback
> >
> > # Bridge Interface for eth1 + eth2
> > auto br0
> > iface br0 inet loopback
> > pre-up brctl addbr br0
> > up brctl addif br0 eth1
> > up brctl addif br0 eth2
> > up brctl stp br0 on
> > down brctl delif br0 eth1
> > down brctl delif br0 eth2
> > post-down brctl delbr br0
> >
> >
> >
> >
> >
> > Does anyone have any ideas off the top of your head what could be
> > causing this or be able to point me in the right direction for some
> > documentation relating to this problem.
> >
> >
> >
> >
> >
> > Simon Allard (Senior Tool Monkey)
> > IHUG
> > Ph (09) 358-5067   Email: [EMAIL PROTECTED]
> >
> > I'm out of my mind right now, but feel free to leave a message.
> >
> >
>
>

Simon Allard (Senior Tool Monkey)
IHUG
Ph (09) 358-5067   Email: [EMAIL PROTECTED]

I'm out of my mind right now, but feel free to leave a message.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: CPU Utiliaztion on a ethernet bridge

2003-11-19 Thread Simon Allard

I have replaced NIC's as I thought it might of been the drives also. I
moved to the eepro100 cards. Same problem.

What kernel are you using? I have tried 2.4.19 and 2.4.22.


> I'm running the same scenario here on a ppro 200 except that I'm using
> 2x3c905btxm cards for the briding instead of the one dual card. If I
> flush all firewall rules i get a throuput of about 95MBit with a
> cpu-load of constantly under 8%. With all firewall rules i get about
> 85MBit and the cpu-load is far away from 50%. The bottleneck is the
> memory timing.
> Have you tried your setup with two nics as well? I would suggest the
> problem is the NIC or the driver therefor.
>
> Cheers,
> Michael
>
>
> Simon Allard schrieb:
>
> > I have setup a linux box with a 2.4.19 kernel. I am bridging 2 ethernet
> > devices together using 3Com PCI 3c982 Dual Port cards. (3c59x).
> >
> > What I am seeing is that the module itself uses 30% of CPU to handle just
> > 10mbit both ways (20mbit total). ~6000ps total. From what I have read on
> > the bridge homepages I should be able to run this on a 486 as CPU has
> > nothing to do with it. What am I doing wrong?
> >
> >
> > bridge:~# brctl show
> > bridge name bridge id   STP enabled interfaces
> > br0 8000.000475c9a6f9   yes eth1
> > eth2
> >
> >
> > bridge:~# lsmod
> > Module  Size  Used byNot tainted
> > limiter13064   0  (unused)
> > bridge 16748   1
> > 3c59x  25512   2
> > sis900 12388   1
> >
> >
> >
> > bridge:~# cat /etc/modules
> > # /etc/modules: kernel modules to load at boot time.
> > #
> > # This file should contain the names of kernel modules that are
> > # to be loaded at boot time, one per line.  Comments begin with
> > # a #, and everything on the line after them are ignored.
> > sis900
> > 3c59x options=4,4,4,4 full_duplex=1,1,1,1 max_interrupt_work=1
> > bridge
> > limiter
> >
> >
> > in /etc/network/interfaces
> > auto eth1
> > iface eth1 inet loopback
> >
> > auto eth2
> > iface eth2 inet loopback
> >
> > # Bridge Interface for eth1 + eth2
> > auto br0
> > iface br0 inet loopback
> > pre-up brctl addbr br0
> > up brctl addif br0 eth1
> > up brctl addif br0 eth2
> > up brctl stp br0 on
> > down brctl delif br0 eth1
> > down brctl delif br0 eth2
> > post-down brctl delbr br0
> >
> >
> >
> >
> >
> > Does anyone have any ideas off the top of your head what could be
> > causing this or be able to point me in the right direction for some
> > documentation relating to this problem.
> >
> >
> >
> >
> >
> > Simon Allard (Senior Tool Monkey)
> > IHUG
> > Ph (09) 358-5067   Email: [EMAIL PROTECTED]
> >
> > I'm out of my mind right now, but feel free to leave a message.
> >
> >
>
>

Simon Allard (Senior Tool Monkey)
IHUG
Ph (09) 358-5067   Email: [EMAIL PROTECTED]

I'm out of my mind right now, but feel free to leave a message.




Re: CPU Utiliaztion on a ethernet bridge

2003-11-18 Thread Simon Allard

No. None what so ever.

ipfiler/iptables modules are not even loaded

Its a pretty clean running box.


> Any firewall rules or logging mechanism?
>
> El mar, 18-11-2003 a las 15:12, Simon Allard escribió:
> > I have setup a linux box with a 2.4.19 kernel. I am bridging 2 ethernet
> > devices together using 3Com PCI 3c982 Dual Port cards. (3c59x).
> >
> > What I am seeing is that the module itself uses 30% of CPU to handle just
> > 10mbit both ways (20mbit total). ~6000ps total. From what I have read on
> > the bridge homepages I should be able to run this on a 486 as CPU has
> > nothing to do with it. What am I doing wrong?
> >
> >
> > bridge:~# brctl show
> > bridge name bridge id   STP enabled interfaces
> > br0 8000.000475c9a6f9   yes eth1
> > eth2
> >
> >
> > bridge:~# lsmod
> > Module  Size  Used byNot tainted
> > limiter13064   0  (unused)
> > bridge 16748   1
> > 3c59x  25512   2
> > sis900 12388   1
> >
> >
> >
> > bridge:~# cat /etc/modules
> > # /etc/modules: kernel modules to load at boot time.
> > #
> > # This file should contain the names of kernel modules that are
> > # to be loaded at boot time, one per line.  Comments begin with
> > # a #, and everything on the line after them are ignored.
> > sis900
> > 3c59x options=4,4,4,4 full_duplex=1,1,1,1 max_interrupt_work=1
> > bridge
> > limiter
> >
> >
> > in /etc/network/interfaces
> > auto eth1
> > iface eth1 inet loopback
> >
> > auto eth2
> > iface eth2 inet loopback
> >
> > # Bridge Interface for eth1 + eth2
> > auto br0
> > iface br0 inet loopback
> > pre-up brctl addbr br0
> > up brctl addif br0 eth1
> > up brctl addif br0 eth2
> > up brctl stp br0 on
> > down brctl delif br0 eth1
> > down brctl delif br0 eth2
> > post-down brctl delbr br0
> >
> >
> >
> >
> >
> > Does anyone have any ideas off the top of your head what could be
> > causing this or be able to point me in the right direction for some
> > documentation relating to this problem.
> >
> >
> >
> >
> >
> > Simon Allard (Senior Tool Monkey)
> > IHUG
> > Ph (09) 358-5067   Email: [EMAIL PROTECTED]
> >
> > I'm out of my mind right now, but feel free to leave a message.
> >
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>

Simon Allard (Senior Tool Monkey)
IHUG
Ph (09) 358-5067   Email: [EMAIL PROTECTED]

I'm out of my mind right now, but feel free to leave a message.




Re: CPU Utiliaztion on a ethernet bridge

2003-11-18 Thread Simon Allard

No. None what so ever.

ipfiler/iptables modules are not even loaded

Its a pretty clean running box.


> Any firewall rules or logging mechanism?
>
> El mar, 18-11-2003 a las 15:12, Simon Allard escribió:
> > I have setup a linux box with a 2.4.19 kernel. I am bridging 2 ethernet
> > devices together using 3Com PCI 3c982 Dual Port cards. (3c59x).
> >
> > What I am seeing is that the module itself uses 30% of CPU to handle just
> > 10mbit both ways (20mbit total). ~6000ps total. From what I have read on
> > the bridge homepages I should be able to run this on a 486 as CPU has
> > nothing to do with it. What am I doing wrong?
> >
> >
> > bridge:~# brctl show
> > bridge name bridge id   STP enabled interfaces
> > br0 8000.000475c9a6f9   yes eth1
> > eth2
> >
> >
> > bridge:~# lsmod
> > Module  Size  Used byNot tainted
> > limiter13064   0  (unused)
> > bridge 16748   1
> > 3c59x  25512   2
> > sis900 12388   1
> >
> >
> >
> > bridge:~# cat /etc/modules
> > # /etc/modules: kernel modules to load at boot time.
> > #
> > # This file should contain the names of kernel modules that are
> > # to be loaded at boot time, one per line.  Comments begin with
> > # a #, and everything on the line after them are ignored.
> > sis900
> > 3c59x options=4,4,4,4 full_duplex=1,1,1,1 max_interrupt_work=1
> > bridge
> > limiter
> >
> >
> > in /etc/network/interfaces
> > auto eth1
> > iface eth1 inet loopback
> >
> > auto eth2
> > iface eth2 inet loopback
> >
> > # Bridge Interface for eth1 + eth2
> > auto br0
> > iface br0 inet loopback
> > pre-up brctl addbr br0
> > up brctl addif br0 eth1
> > up brctl addif br0 eth2
> > up brctl stp br0 on
> > down brctl delif br0 eth1
> > down brctl delif br0 eth2
> > post-down brctl delbr br0
> >
> >
> >
> >
> >
> > Does anyone have any ideas off the top of your head what could be
> > causing this or be able to point me in the right direction for some
> > documentation relating to this problem.
> >
> >
> >
> >
> >
> > Simon Allard (Senior Tool Monkey)
> > IHUG
> > Ph (09) 358-5067   Email: [EMAIL PROTECTED]
> >
> > I'm out of my mind right now, but feel free to leave a message.
> >
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>

Simon Allard (Senior Tool Monkey)
IHUG
Ph (09) 358-5067   Email: [EMAIL PROTECTED]

I'm out of my mind right now, but feel free to leave a message.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



CPU Utiliaztion on a ethernet bridge

2003-11-18 Thread Simon Allard

I have setup a linux box with a 2.4.19 kernel. I am bridging 2 ethernet
devices together using 3Com PCI 3c982 Dual Port cards. (3c59x).

What I am seeing is that the module itself uses 30% of CPU to handle just
10mbit both ways (20mbit total). ~6000ps total. From what I have read on
the bridge homepages I should be able to run this on a 486 as CPU has
nothing to do with it. What am I doing wrong?


bridge:~# brctl show
bridge name bridge id   STP enabled interfaces
br0 8000.000475c9a6f9   yes eth1
eth2


bridge:~# lsmod
Module  Size  Used byNot tainted
limiter13064   0  (unused)
bridge 16748   1
3c59x  25512   2
sis900 12388   1



bridge:~# cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line.  Comments begin with
# a #, and everything on the line after them are ignored.
sis900
3c59x options=4,4,4,4 full_duplex=1,1,1,1 max_interrupt_work=1
bridge
limiter


in /etc/network/interfaces
auto eth1
iface eth1 inet loopback

auto eth2
iface eth2 inet loopback

# Bridge Interface for eth1 + eth2
auto br0
iface br0 inet loopback
pre-up brctl addbr br0
up brctl addif br0 eth1
up brctl addif br0 eth2
up brctl stp br0 on
down brctl delif br0 eth1
down brctl delif br0 eth2
post-down brctl delbr br0





Does anyone have any ideas off the top of your head what could be
causing this or be able to point me in the right direction for some
documentation relating to this problem.





Simon Allard (Senior Tool Monkey)
IHUG
Ph (09) 358-5067   Email: [EMAIL PROTECTED]

I'm out of my mind right now, but feel free to leave a message.




CPU Utiliaztion on a ethernet bridge

2003-11-18 Thread Simon Allard

I have setup a linux box with a 2.4.19 kernel. I am bridging 2 ethernet
devices together using 3Com PCI 3c982 Dual Port cards. (3c59x).

What I am seeing is that the module itself uses 30% of CPU to handle just
10mbit both ways (20mbit total). ~6000ps total. From what I have read on
the bridge homepages I should be able to run this on a 486 as CPU has
nothing to do with it. What am I doing wrong?


bridge:~# brctl show
bridge name bridge id   STP enabled interfaces
br0 8000.000475c9a6f9   yes eth1
eth2


bridge:~# lsmod
Module  Size  Used byNot tainted
limiter13064   0  (unused)
bridge 16748   1
3c59x  25512   2
sis900 12388   1



bridge:~# cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line.  Comments begin with
# a #, and everything on the line after them are ignored.
sis900
3c59x options=4,4,4,4 full_duplex=1,1,1,1 max_interrupt_work=1
bridge
limiter


in /etc/network/interfaces
auto eth1
iface eth1 inet loopback

auto eth2
iface eth2 inet loopback

# Bridge Interface for eth1 + eth2
auto br0
iface br0 inet loopback
pre-up brctl addbr br0
up brctl addif br0 eth1
up brctl addif br0 eth2
up brctl stp br0 on
down brctl delif br0 eth1
down brctl delif br0 eth2
post-down brctl delbr br0





Does anyone have any ideas off the top of your head what could be
causing this or be able to point me in the right direction for some
documentation relating to this problem.





Simon Allard (Senior Tool Monkey)
IHUG
Ph (09) 358-5067   Email: [EMAIL PROTECTED]

I'm out of my mind right now, but feel free to leave a message.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Slurpd.status file and S1T

2001-09-09 Thread Simon Allard


Has anyone else noticed that openldap has a S1T bug?

The slurpd.status file of mine hasn't been written to since EPOCH switched
over to being 1 billion? Replication seems to still be going mind you.

It set off all my alarms cause I send alarms to our noc if the time in the
slurpd.status file becomes more than 1 hour old.

root@ihug:/raid-1/ldap/slurpd/replica# cat slurpd.status
loch:0:99957:1
circle:0:99957:1
triangle:0:99957:1
bob:0:99957:1
kate:0:99957:1

I am running openldap 2.0.13.


Simon Allard (Senior Tool Monkey)
IHUG
Ph (09) 358-5067   Email: [EMAIL PROTECTED]

"Eagles may soar, but weasels don't get sucked into jet engines."


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




./debian directorys in packages

2001-08-09 Thread Simon Allard

Afternoon debian-isp people.

As most of you are fully aware, it sometimes becomes a pain in the arse
when apt-geting a package only to find that the version that debian has
,is missing the feture that you need but in newer versions of the
code.

Does anyone know how/if we can actually get the ./debian directory that is
used to make the packages? Does debian include them with the source
packages?

The reason I ask is I want to compile some new packages, but don't want to
make my own rules files else it gets to hard in the future when reverting
back to debian created packages.

Regards
Simon Allard

Simon Allard (Senior Tool Monkey)
IHUG
Ph (09) 358-5067   Email: [EMAIL PROTECTED]

"Eagles may soar, but weasels don't get sucked into jet engines."


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Virtual Hosting

2001-07-26 Thread Simon Allard

> > You can't do name based virtual hosting with ftp, as the protocol
> > doesn't use domain names.
> >
> > You will need to do IP based virtual hosting and use IP aliasing.
>
> How hard would it be to implement a thing in say ProFTPd for example,
> that took "[EMAIL PROTECTED]" as the actual username, rather than just
> "user" ?
>
> Would that be possible?

Not with the current c0de base. Possible to do with code changes though.

Simon Allard (Senior Tool Monkey)
IHUG
Ph (09) 358-5067   Email: [EMAIL PROTECTED]

"There is no spoon"


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Virtual Hosting

2001-07-25 Thread Simon Allard


The FTP protocal doesn't handle name based virtual hosting. The only way
to do it is by adding more ips the ftp box. Its a complete pain, but the
only way.

eg isp2.com 10.10.1.1
   isp3.com 10.10.1.2


Stuff goes here



Stuff goes here



Hope that helps


> Hello *,
>
> I have a question:
> How do you use Proftpd to serve more then one domain?
> Name based Virtual Hosting seems to work only for
> Apache, because of the protocol (HTTP 1.1).
>
> Is the only way to use IP-Aliasing?
> (Have all IP's to be official?)
>
> I don't want to use Port-Based Virtual Hosting,
> because mostly everyone expected Port 21 for FTP.
>
> Thanks for any hints.
>
> --
> bye
>
> Waldemar
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>

Simon Allard (Senior Tool Monkey)
IHUG
Ph (09) 358-5067   Email: [EMAIL PROTECTED]

"There is no spoon"


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: UFS

2001-05-10 Thread Simon Allard
>  mount -w -t ufs -o ufstype=sun /dev/sda1 /mnt/scsi

I would imagine

mount -w -t ufs -o ufstype=sun,rw /dev/sda1 /mnt/scsi

The mount man page says by default UFS is mounted Read-only.


Simon Allard (Senior Tool Monkey)
IHUG
Ph (09) 358-5067   Email: [EMAIL PROTECTED]

The real fighting men and women of the 21st century will continue
to be techo's backed up by the grunts with bad haircuts and rifles.




Re: UFS

2001-05-10 Thread Simon Allard

>  mount -w -t ufs -o ufstype=sun /dev/sda1 /mnt/scsi

I would imagine

mount -w -t ufs -o ufstype=sun,rw /dev/sda1 /mnt/scsi

The mount man page says by default UFS is mounted Read-only.


Simon Allard (Senior Tool Monkey)
IHUG
Ph (09) 358-5067   Email: [EMAIL PROTECTED]

The real fighting men and women of the 21st century will continue
to be techo's backed up by the grunts with bad haircuts and rifles.


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]