November 30, 2016

solve kvm soft lockup

       

Update: setting to jiffies on my guest seems to be the most stable (no lockups yet in the last 24 hours)

Original Post:
I googled around and by adding clocksource=jiffies to my kernel i fixed it. Instead of jiffies you could also try "pit". This is for the guest OS. You can also use kvm-clock if that is available to you. To check, run the following commands and see whether kvm-clock is available


# cat /sys/devices/system/clocksource/clocksource0/available_clocksource 
tsc hpet acpi_pm jiffies 
# cat /sys/devices/system/clocksource/clocksource0/current_clocksource 
tsc

Some people say that the best option for a precise clock on the guest is to use the kvm-clock source (pvclock) which is synchronized with clock's host.

There are also reports of disabling C-states in the BIOS.

November 16, 2016

gvim set size and color scheme

put this in ~/_vimrc:

set lines=51 columns=200
winpos 56 56
colorscheme desert

November 4, 2016

batteries, material, voltage

Carbon zinc - non-reversible, 1.5v

Alkaline - non-reversible (basically, but some reversibility can be forced) 1.5 v

NiCd - reversible - 1.2v nominal, 1.35v fully charged, 0.9v discharged

NiMH - reversible - 1.2 v nominal, 1.35 - 1.4v fully charged, 1.0 v discharged

Lead Acid - reversible, 2.0v discharged, 2.3v charged

Lithium Polymer - reversable - 3.7v nominal, 4.2v fully charged, 3.0 discharged

Lithium Ion (LiFePO4) - reversable - 3.3v nominal, 3.6v fully charged, 2.8v discharged