Re: wpa_supplicant (2.9) memory usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



How are you determining this?

On 11/13/19 2:05 PM, Ahmed Zaki wrote:
Hi,

I have 2 devices set in IBSS mode. After few minutes, I can see that
wpa_supplciant is using 25+ MBytes of RAM. The devices that I am
working with have only 64M, so I'd like to lower the memory used by
wpa_supp.

Is 25 MB considered normal or should I start to do some memory
debugging? Knowing that it does not seem like a leak as the memory
consumption does not go beyond that no matter how much time I leave
the units up.

How are you determining this?  There is 'VIRT' memory and 'RES' memory
shown in top...the 'VIRT' is not really used AFAIK, and you should pay more
attention to 'RES'.

Thanks,
Ben


I am using hostapd 2.9 from openwrt.

This is my wpa config file:

CONFIG_DRIVER_NL80211=y
CONFIG_DRIVER_NL80211_QCA=y
CONFIG_LIBNL32=y
CONFIG_VHT_OVERRIDES=y
CONFIG_CTRL_IFACE=y
CONFIG_BACKEND=file
CONFIG_NO_CONFIG_BLOBS=y
CONFIG_TLS=internal
CONFIG_INTERNAL_LIBTOMMATH=y
CONFIG_INTERNAL_LIBTOMMATH_FAST=y
CONFIG_IEEE80211N=y
CONFIG_IEEE80211AC=y
CONFIG_IBSS_RSN=y

and the IBSS SSID config:

ap_scan=1
network={
   ssid="TEST1"
   key_mgmt=WPA-PSK
   proto=RSN
   psk="secret"
   mode=1
   frequency=2412
   fixed_freq=1
   pairwise=CCMP
   group=CCMP
}

Thank you.

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



--
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc  http://www.candelatech.com


_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux