WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: usb-modeswitch increase the number of udevd from 3 to 12; issue?  (Read 2733 times)

Offline floppy

  • Hero Member
  • *****
  • Posts: 577
usb-modeswitch increase the number of udevd from 3 to 12; issue?
« on: February 21, 2012, 11:58:39 AM »
Hello,
after inserting my huawei usb modem and using usb-modeswitch, the number of udevd is increasing from 3 to 12. I think this is too much. It should be maximum 4. Is it right?
What happens here? Is there an issue?
My impression is too much udevd will use RAM/cpu.
AMD K6-IIIATZ 550MHz MB DFI K6xv3/+66
P4 HP DC7100 3GB 3GHz
Samsung NC10 boot from SD card port (via USB reader)
.. all TinyCore proofed

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10965
Re: usb-modeswitch increase the number of udevd from 3 to 12; issue?
« Reply #1 on: February 22, 2012, 05:26:59 AM »
The extra udev processes should die down after a while. Unless they actually start hogging cpu, nothing to be concerned about.
The only barriers that can stop you are the ones you create yourself.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11243
Re: usb-modeswitch increase the number of udevd from 3 to 12; issue?
« Reply #2 on: February 22, 2012, 07:24:40 AM »
Are these what the two of you are refering to:
Quote
   71     1 root     S     1932  0.3   0  0.0 /sbin/udevd --daemon
 4237    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 4543    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5252    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5253    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5254    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5255    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5264    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5265    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5266    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5267    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5277    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5629    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5630    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5631    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5632    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5633    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5634    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5635    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5636    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5637    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5638    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5639    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5640    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5641    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5642    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5643    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5644    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5645    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5646    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5647    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5648    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5649    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10965
Re: usb-modeswitch increase the number of udevd from 3 to 12; issue?
« Reply #3 on: February 22, 2012, 07:30:18 AM »
Yes, udev spawns multiple processes to handle events better.
The only barriers that can stop you are the ones you create yourself.

Offline floppy

  • Hero Member
  • *****
  • Posts: 577
Re: usb-modeswitch increase the number of udevd from 3 to 12; issue?
« Reply #4 on: February 22, 2012, 12:52:44 PM »
Are these what the two of you are refering to:
Quote
   71     1 root     S     1932  0.3   0  0.0 /sbin/udevd --daemon
 4237    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 4543    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5252    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5253    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5254    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5255    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5264    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5265    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5266    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5267    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5277    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5629    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5630    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5631    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5632    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5633    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5634    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5635    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5636    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5637    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5638    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5639    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5640    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5641    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5642    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5643    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5644    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5645    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5646    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5647    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5648    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
 5649    71 root     S     1928  0.3   0  0.0 /sbin/udevd --daemon
yes.
Only 12 for me...;-)    (I could not post the screen copy because the size was too big. How do you have posted this ? would be good to know)
Looks a bit like a mess in TOP.
AMD K6-IIIATZ 550MHz MB DFI K6xv3/+66
P4 HP DC7100 3GB 3GHz
Samsung NC10 boot from SD card port (via USB reader)
.. all TinyCore proofed

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11243
Re: usb-modeswitch increase the number of udevd from 3 to 12; issue?
« Reply #5 on: February 22, 2012, 01:16:14 PM »
Hi floppy
Start top, click the button in the title bar to make the window tall. Move the mouse cursor to where you want to
start copying, hold down the left mouse button and drag the mouse to highlight what you wish to copy. Move
to where you want to copy to, left click to position the cursor, then center click to paste.