Skip to content

Instantly share code, notes, and snippets.

View kshcherban's full-sized avatar
🏠
Working from home

Konstantin Shcherban kshcherban

🏠
Working from home
View GitHub Profile
Dec 19 19:23:54 pr-121 kernel: INFO: task auditd:2153 blocked for more than 120 seconds.
Dec 19 19:23:54 pr-121 kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Dec 19 19:23:54 pr-121 kernel: auditd D 0000000000000001 0 2153 1 0x00000000
Dec 19 19:23:54 pr-121 kernel: ffff880c2b2cdcc8 0000000000000082 0000000000000000 ffffffff81055ad3
Dec 19 19:23:54 pr-121 kernel: 0000000000000001 ffff880c2a99db00 ffff88002804b028 ffffffff81119e10
Dec 19 19:23:54 pr-121 kernel: ffff880c29e945f8 ffff880c2b2cdfd8 000000000000fb88 ffff880c29e945f8
Dec 19 19:23:54 pr-121 kernel: Call Trace:
Dec 19 19:23:54 pr-121 kernel: [<ffffffff81055ad3>] ? __wake_up+0x53/0x70
Dec 19 19:23:54 pr-121 kernel: [<ffffffff81119e10>] ? sync_page+0x0/0x50
Dec 19 19:23:54 pr-121 kernel: [<ffffffff81119e10>] ? sync_page+0x0/0x50
@kshcherban
kshcherban / fio random read
Last active December 31, 2015 05:58
fio example config for random read test
[random-read]
# Random read
rw=randread
# Test file size
#size=1g
# Use direct operations
direct=1
# Disable buffers
buffered=0
# Run time in seconds
root@laptop:~# ~/Downloads/seeker /dev/sda
Seeker v2.0, 2007-01-15, http://www.linuxinsight.com/how_fast_is_your_disk.html
Benchmarking /dev/sda [171705MB], wait 30 seconds..............................
Results: 3121 seeks/second, 0.32 ms random access time
root@laptop:~# ~/Downloads/seeker /dev/sda
Seeker v2.0, 2007-01-15, http://www.linuxinsight.com/how_fast_is_your_disk.html
Benchmarking /dev/sda [171705MB], wait 30 seconds..............................
Results: 3294 seeks/second, 0.30 ms random access time
time lz4c -c /tmp/512M-testfile | ssh -carcfour256 index-114 'lz4 -d > /tmp/512M-testfile'
real 0m1.374s
user 0m0.395s
sys 0m0.455s
time lzop -c /tmp/512M-testfile | ssh -carcfour256 index-114 'lzop -d > /tmp/512M-testfile'
real 0m2.176s
user 0m0.621s
pcm.bluetooth {
type bluetooth
device "00:0D:FD:35:3A:64"
profile "auto"
}
pcm.!default pcm.bluetooth
ctl.!default ctl.bluetooth
pcm.!default pulse
pcm.pulse {
type pulse
}
ctl.pulse {
type pulse
}
pcm.pulse {
type pulse
}
ctl.pulse {
type pulse
}
pcm.!default {
type pulse
}
ctl.!default {

virtup

Virtup was initially developed to become a partial Vagrant replacement for KVM.

Virtup provides simple command line interface to operate with virtual machines. It can easily import virtual machine from image into hypervisor, start it and provide you with it's ip address to connect via SSH or other preferred method.

Requirements