On 04/25/2013 08:56 AM, Dan Winship wrote:
> On 04/25/2013 10:38 AM, John Reiser wrote:
>> When booting a Live spin, how can I tell NetworkManager to avoid any hardware
>> that is not present?  There is [and will be] no ISDN, no ADSL, no dialup 
>> modem,
>> no Bluetooth, no wired ethernet; and I want to reduce RAM usage as much as 
>> possible.
> 
> Well, if the hardware is not present, then NM avoids it, right?

I see at least 5.2MB of physical RAM for data to supervise a single WiFi 
connection.
That's too much.  Another 400KB is for bluetooth kernel module.  I can't prove
that bluetooth is not present (lspci omits any mention), but I'm definitely not 
using it
(keyboard, mouse, sound are all direct wired.)
Modem-manager is active even though I'll never use it.

$ ps alx
F   UID   PID  PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY        TIME COMMAND
4     0   614     1  20   0 523576 11672 poll_s Ssl  ?          0:01 
/usr/sbin/NetworkManager --no-daemon

$ cat /proc/614/smaps
02405000-024c2000 rw-p 00000000 00:00 0                                  [heap]
Private_Dirty:       648 kB
Referenced:          648 kB
Anonymous:           648 kB

7ff50f800000-7ff510000000 rw-p 00000000 00:00 0
Private_Dirty:      2048 kB
Referenced:         2048 kB
Anonymous:          2048 kB
AnonHugePages:      2048 kB

7ff51fc01000-7ff520401000 rw-p 00000000 00:00 0                          
[stack:627]
Private_Dirty:      2052 kB
Referenced:         2052 kB
Anonymous:          2052 kB
AnonHugePages:      2048 kB

$ dmesg
Apr 25 05:56:36 localhost NetworkManager[614]: <info> modem-manager is now 
available
Apr 25 05:56:36 localhost dbus-daemon[501]: modem-manager[641]: <info>  
ModemManager (version 0.6.0.0-3.fc19) starting...
Apr 25 05:56:37 localhost dbus-daemon[501]: modem-manager[641]: <info>  Loaded 
plugin 'Samsung'
  ...
Apr 25 05:56:37 localhost modem-manager[641]: <info>  Loaded plugin 'Samsung'
  ...

$ lsmod
bluetooth             393324  7 bnep
bnep                   24065  2

-- 

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to