High CPU utilization of hostap


From: Happy Camper (happy_programmer_at_yahoo.com)
Date: 2002-04-30 02:06:30 UTC


I am new to hostap. So please forgive me if I am asking an obvious question.

I wanted a software based access point and after seeing how hostap supported D-Link DWL-520 PCI based Prism 2 card, I went ahead and bought one over the weekend.

Downloaded the latest driver Prism2-2002-04-24.tar.gz and installed. It all worked beautifully. Much much easier than I thought. I only have one concern. The CPU utlization. It uses 40% of my 2GHz Intel P4 during use. Here is a top snapshot from when I was downloading a large file:

  6:42pm up 4:50, 2 users, load average: 0.00, 0.00, 0.00 46 processes: 44 sleeping, 2 running, 0 zombie, 0 stopped CPU states: 0.1% user, 35.3% system, 0.0% nice, 64.4% idle Mem: 514136K av, 327580K used, 186556K free, 0K shrd, 20520K buff

Swap:  522104K av,       0K used,  522104K free                  271236K
cached
  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
 5116 cheema    15   0  1052 1052   848 R     0.1  0.2   0:00 top
    1 root      15   0   488  488   420 S     0.0  0.0   0:04 init
    2 root      15   0     0    0     0 SW    0.0  0.0   0:00 keventd
    3 root      15   0     0    0     0 SW    0.0  0.0   0:00 kapmd
    4 root      34  19     0    0     0 SWN   0.0  0.0   0:00
ksoftirqd_CPU0
    5 root      15   0     0    0     0 SW    0.0  0.0   0:00 kswapd
    6 root      25   0     0    0     0 SW    0.0  0.0   0:00 bdflush
    7 root      15   0     0    0     0 SW    0.0  0.0   0:00 kupdated
    8 root      25   0     0    0     0 SW    0.0  0.0   0:00 mdrecoveryd
   12 root      15   0     0    0     0 SW    0.0  0.0   0:00 kjournald
   91 root      15   0     0    0     0 SW    0.0  0.0   0:00 khubd
  701 root      15   0   576  576   488 S     0.0  0.1   0:00 syslogd
  706 root      15   0   444  444   384 S     0.0  0.0   0:00 klogd
  726 rpc       15   0   540  540   460 S     0.0  0.1   0:00 portmap
  754 rpcuser   17   0   708  708   612 S     0.0  0.1   0:00 rpc.statd
  901 root      15   0  1212 1212  1084 S     0.0  0.2   0:00 sshd
  958 root      15   0   516  516   452 S     0.0  0.1   0:00 gpm
  976 root      15   0   616  616   536 S     0.0  0.1   0:00 crond
 1044 xfs       15   0  5196 5196   872 S     0.0  1.0   0:00 xfs

The system is RedHat 7.3 beta2. Kernel : 2.4.18 with Redhat patches. I am using the hostap_pci kernel module with the default configuration.

Can anybody confirm that they too get this much CPU utilization or is it that I am doing something wrong.

Thanks.

Atif.



Do You Yahoo!?
Yahoo! Health - your guide to health and wellness http://health.yahoo.com

This archive was generated by hypermail 2.1.4.