[Click] ..use cpu 100%

Giorgio Calarco gcalarco at deis.unibo.it
Fri Oct 31 10:48:11 EST 2003



> ----- Original Message -----
> From: "Spagoni Carlo" <spagoni at inwind.it>
> To: "click" <click at amsterdam.lcs.mit.edu>
> Sent: Friday, October 31, 2003 10:28 AM
> Subject: Re: [Click] ..use cpu 100%
>
>
> > >From      : "Brecht Vermeulen" brecht.vermeulen at UGent.be
> >
> > > > my cpu usage is 100% always...it's normal??
> > >
> > > do you use PollDevice in your configuration ? Then it is normal as the
> > > ethernet cards are polled continuously. If you use only FromDevice
> > > elements then it should not happen.
> > >
> >
> > i don't know if i use PollDevice....how can i see???

 Carlo,

 you should know that for sure...  check you click configuration file,
 the one you pass to click-install ....
 and the documentation section of the click site, each module
 is very clearly explained.


> >
> > > > if set mtu to default 1500 i can ping between my wirelss pc but if i
> try to
> > > > transfer file with scp or ftp or http the router stalled
> > >
> > > which configuration do you use exactly and which ethernet cards?
> > > how do you change the mtu ?
> >
> > i use :
> > redhat 9 with kernel 2.4.20 recompiled with support tun/tap
> > click 1.2.4 with dsr support (pecolab dsr)
> > wireless pcmcia card Dlink 650 as eth1
> > tap0 device to use dsr routing protocol
> >
> > ifconfig eth1 up
> > ifconfig tap0  192.138.198.93 netmask 255.255.255.0 mtu 1452
> > iwconfig eth1 essid test mode ad-hoc rate 11M
> >
> > >
> > > Have you tried to use no polling ?
> > >
> >
> > how??

 use FromDevice instead of PollDevice in your config file.

 Keep in mind that big file transfer problems can also be due to
 the NIC autonegotiation protocol (supposing the Layer 2 switch
 to which your NIC is connected does not do strange things...).
 If the autonegotiation of half/full duplex fails, the
 switch usually begins working in half duplex mode, if you have
 set your NIC to work in full duplex mode, you can get poor
 performance when the traffic flow increases. If this is what happens
 (take a look at the switch logs if it's a manageable device),
 you can force your switch port to work in full duplex mode.


 ciao
 giorgio







More information about the click mailing list