Warning

 

Close

Confirm Action

Are you sure you wish to do this?

Confirm Cancel
BCM
User Panel

Site Notices
Posted: 5/17/2017 6:45:17 PM EDT
I got this slick tiny dual-nic quad core fanless pc, loaded it with 16GB ram and a SSD, and loaded centos7 for KVM.
$ uname -a
Linux localhost.localdomain 3.10.0-514.16.1.el7.x86_64 #1 SMP Wed Apr 12 15:04:24 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
[bo@localhost ~]$ ps -ax
 PID TTY      STAT   TIME COMMAND
   1 ?        Ss     0:26 /usr/lib/systemd/systemd --switched-root --system --deserialize 21
   2 ?        S      0:00 [kthreadd]
   3 ?        S      0:02 [ksoftirqd/0]
   5 ?        S<     0:00 [kworker/0:0H]
   7 ?        S      0:00 [migration/0]
   8 ?        S      0:00 [rcu_bh]
   9 ?        S     16:28 [rcu_sched]
  10 ?        S      0:02 [watchdog/0]
  11 ?        S      0:02 [watchdog/1]
  12 ?        S      0:00 [migration/1]
  13 ?        S      0:40 [ksoftirqd/1]
  15 ?        S<     0:00 [kworker/1:0H]
  16 ?        S      0:02 [watchdog/2]
  17 ?        S      0:00 [migration/2]
  18 ?        S      0:23 [ksoftirqd/2]
  20 ?        S<     0:00 [kworker/2:0H]
  21 ?        S      0:02 [watchdog/3]
  22 ?        S      0:00 [migration/3]
  23 ?        S      0:02 [ksoftirqd/3]
  25 ?        S<     0:00 [kworker/3:0H]
  27 ?        S      0:00 [kdevtmpfs]
  28 ?        S<     0:00 [netns]
  29 ?        S      0:00 [khungtaskd]
  30 ?        S<     0:00 [writeback]
  31 ?        S<     0:00 [kintegrityd]
  32 ?        S<     0:00 [bioset]
  33 ?        S<     0:00 [kblockd]
  34 ?        S<     0:00 [md]
  41 ?        S      0:00 [kswapd0]
  42 ?        SN     0:00 [ksmd]
  43 ?        SN     0:02 [khugepaged]
  44 ?        S      0:00 [fsnotify_mark]
  45 ?        S<     0:00 [crypto]
  53 ?        S<     0:00 [kthrotld]
  56 ?        S<     0:00 [kmpath_rdacd]
  60 ?        S<     0:00 [kpsmoused]
  61 ?        S<     0:00 [ipv6_addrconf]
  80 ?        S<     0:00 [deferwq]
 113 ?        S      0:00 [kauditd]
 242 ?        S      0:00 [irq/16-mmc0]
 250 ?        S<     0:00 [ata_sff]
 258 ?        S      0:00 [scsi_eh_0]
 259 ?        S<     0:00 [scsi_tmf_0]
 260 ?        S      0:00 [scsi_eh_1]
 261 ?        S<     0:00 [scsi_tmf_1]
 262 ?        S      0:02 [kworker/u8:3]
 276 ?        S      0:00 [scsi_eh_2]
 277 ?        S<     0:00 [scsi_tmf_2]
 278 ?        S      0:44 [usb-storage]
 289 ?        S<     0:00 [kworker/2:1H]
 290 ?        S<     0:01 [kworker/3:1H]
 293 ?        S<     0:05 [kworker/0:1H]
 294 ?        S<     0:00 [kworker/1:1H]
 304 ?        S      0:00 [jbd2/sda1-8]
 305 ?        S<     0:00 [ext4-rsv-conver]
 381 ?        Ss     0:09 /usr/lib/systemd/systemd-journald
 396 ?        S<     0:00 [rpciod]
 408 ?        Ss     0:00 /usr/lib/systemd/systemd-udevd
 461 ?        S<     0:00 [cfg80211]
 465 ?        S      0:00 [rc0]
 466 ?        S      0:00 [irq/124-iwlwifi]
 468 ?        S<     0:00 [kworker/u9:0]
 470 ?        S<     0:00 [hci0]
 471 ?        S<     0:00 [hci0]
 532 ?        S<     0:00 [kvm-irqfd-clean]
 546 ?        S      0:11 [jbd2/sda2-8]
 551 ?        S<     0:00 [ext4-rsv-conver]
 580 ?        S<sl   0:01 /sbin/auditd -n
 586 ?        S<sl   0:01 /sbin/audispd
 588 ?        S<     0:00 /usr/sbin/sedispatch
 603 ?        Ssl    0:08 /usr/lib/polkit-1/polkitd --no-debug
 606 ?        Ss     4:15 /sbin/rngd -f
 609 ?        Ssl    0:02 /usr/sbin/ModemManager
 612 ?        Ss     0:08 /usr/lib/systemd/systemd-logind
 613 ?        Ss     0:00 /usr/sbin/smartd -n -q never
 615 ?        Ss     0:24 /bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
 628 ?        Ss     1:32 /usr/sbin/irqbalance --foreground
 629 ?        Ss     0:00 /usr/sbin/abrtd -d -s
 631 ?        Ss     0:00 /usr/bin/abrt-watch-log -F BUG: WARNING: at WARNING: CPU: INFO: possible recursive locking detected ernel BUG at list_del corruption list_add corruption do_IRQ: stack overflow: ear stack overflow (cur: eneral p
 634 ?        Ss     0:00 /usr/bin/abrt-watch-log -F Backtrace /var/log/Xorg.0.log -- /usr/bin/abrt-dump-xorg -xD
 637 ?        SNs    0:00 /usr/sbin/alsactl -s -n 19 -c -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf --initfile=/lib/alsa/init/00main rdaemon
 643 ?        Ss     0:01 /usr/bin/lsmd -d
 646 ?        Ssl    0:00 /usr/sbin/gssproxy -D
 650 ?        Ss     0:00 avahi-daemon: running [linux.local]
 654 ?        S      0:00 avahi-daemon: chroot helper
 665 ?        Ssl    0:23 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid
 666 ?        Ss     0:00 /usr/sbin/mcelog --ignorenodev --daemon --syslog
 678 ?        S      0:26 /bin/bash /usr/sbin/ksmtuned
1196 ?        Ss     0:00 /usr/sbin/cupsd -f
1199 ?        Ssl    1:39 /usr/bin/python -Es /usr/sbin/tuned -l -P
1202 ?        Ss     0:00 /usr/sbin/sshd -D
1203 ?        Ssl    0:03 /usr/sbin/rsyslogd -n
1212 ?        Ssl    0:01 /usr/sbin/libvirtd
1218 ?        Ss     0:01 /usr/sbin/crond -n
1222 ?        Ss     0:00 /usr/sbin/atd -f
1770 ?        Ss     0:03 /usr/libexec/postfix/master -w
1794 ?        S      0:00 qmgr -l -t unix -u
6507 ?        Sl   1881:24 /usr/libexec/qemu-kvm -name pfsense -S -machine pc-i440fx-rhel7.0.0,accel=kvm,usb=off -cpu Westmere -m 4096 -realtime mlock=off -smp 4,sockets=4,cores=1,threads=1 -uuid 51626911-5ae6-4311-9cb9-322801366200 -no
6509 ?        S     49:06 [vhost-6507]
6510 ?        S     36:20 [vhost-6507]
6517 ?        S      3:26 [kvm-pit/6507]
9423 ?        S      0:19 [kworker/2:2]
11716 ?        S<     0:00 [krfcommd]
12269 ?        S      0:24 [kworker/u8:2]
12433 ?        Sl   153:28 /usr/libexec/qemu-kvm -name debian -S -machine pc-i440fx-rhel7.0.0,accel=kvm,usb=off -cpu Westmere,+vme,+ds,+acpi,+ss,+ht,+tm,+pbe,+pclmuldq,+dtes64,+monitor,+ds_cpl,+vmx,+est,+tm2,+xtpr,+pdcm,+movbe,+tsc-deadl
12443 ?        S      0:00 [vhost-12433]
12444 ?        S      1:29 [vhost-12433]
12448 ?        S      0:00 [kvm-pit/12433]
12792 ?        S<     0:00 [kworker/u9:2]
12985 tty1     Ss+    0:00 /sbin/agetty --noclear tty1 linux
13412 ?        S      0:59 [kworker/2:1]
13900 ?        S      0:57 [kworker/3:1]
20821 ?        S      0:12 [kworker/0:2]
22552 ?        S      0:11 [kworker/0:1]
22870 ?        S      0:00 [kworker/1:0]
23836 ?        S      0:02 [kworker/1:1]
23911 ?        S      0:00 [kworker/3:2]
23977 ?        S      0:00 pickup -l -t unix -u
24113 ?        S      0:00 [kworker/3:0]
24115 ?        Ss     0:00 sshd: bo [priv]
24118 ?        R      0:00 sshd: bo@pts/2
24119 pts/2    Ss     0:00 -bash
24142 ?        Sl     0:00 /usr/sbin/abrt-dbus -t133
24185 ?        S      0:00 sleep 60
24186 pts/2    R+     0:00 ps -ax
[bo@localhost ~]$


Its my little home VM server with a VM to run pfsense for the house. had esxi loaded on it and ran that for a bit then got tired of it.  I got tons of that to deal with at work anyways.  so want to play with kvm a bit.  any tips on stripping out all the crap?  I did install server with gnome just to have it if i wanted but runs the multi user text target
Link Posted: 5/17/2017 7:47:00 PM EDT
[#1]
The part in italics is a good first start at answering the part in bold.



You need KVM, libvirt, virt-install, and qemu-kvm.  Then add the minimum management tools like openssh-server and any libraries, automation tools, etc.

Allow IP forwarding at the kernel, and configure the basic bridge interface for the VMs to communicate out on.

If you want it light and efficient that's about it less any knick-knack packages and dependencies.  If it says graphical, GUI, X, X.11, or any of that crap you can strip it out.  Unnecessary nonsense.



Quoted:
I want to play with kvm a bit.  any tips on stripping out all the crap?  I did install server with gnome just to have it if i wanted but runs the multi user text target
View Quote
Close Join Our Mail List to Stay Up To Date! Win a FREE Membership!

Sign up for the ARFCOM weekly newsletter and be entered to win a free ARFCOM membership. One new winner* is announced every week!

You will receive an email every Friday morning featuring the latest chatter from the hottest topics, breaking news surrounding legislation, as well as exclusive deals only available to ARFCOM email subscribers.


By signing up you agree to our User Agreement. *Must have a registered ARFCOM account to win.
Top Top