View keybase.md

Keybase proof

I hereby claim:

  • I am vsrinivas on github.
  • I am vsrinivas (https://keybase.io/vsrinivas) on keybase.
  • I have a public key whose fingerprint is 2331 9833 B1C3 8AF6 2EFC AA5B 0D32 F18E CCED C0D3

To claim this, I am signing this object:

View gist:945626d9b3047837a224
doit.c:
#include <stdint.h>
#include <sys/types.h>
#include <stdlib.h>
#include <stdio.h>
#include <strings.h>
#define __packed __attribute__((__packed__))
#define __aligned(x) __attribute__((__aligned__(x)))
View gist:6045488
jackson# /usr/local/bin/vmm_test
sys_vmm_guest: VMM_GUEST_INIT op
vmm_guest(0): return 0, expected 0
sys_vmm_guest: VMM_GUEST_RUN op
vmm_vmenter
SVMRUN GO!
View gist:5873551
59.52 497 28.87 37.33 9 0.33 0.00 0 0.00 0.00 0 0.00
62.42 467 28.45 36.57 7 0.25 0.00 0 0.00 0.00 0 0.00
61.52 486 29.19 40.00 6 0.23 0.00 0 0.00 0.00 0 0.00
59.95 483 28.26 29.71 35 1.02 0.00 0 0.00 0.00 0 0.00
64.69 488 30.81 57.14 7 0.39 0.00 0 0.00 0.00 0 0.00
60.53 486 28.72 21.74 92 1.95 0.00 0 0.00 0.00 0 0.00
65.83 466 29.94 25.22 125 3.08 0.00 0 0.00 0.00 0 0.00
90.22 425 37.43 57.68 248 13.96 0.00 0 0.00 0.00 0 0.00
47.12 437 20.10 64.00 141 8.81 0.00 0 0.00 0.00 0 0.00
da0 da1 da2 cd8
View gist:5646129
rem# /sbin/dhclient vtnet0
virtio_pci0: host features: 0x719f8060 <EventIdx,0x10000000,NotifyOnEmpty,0x800000,RxModeExtra,VLanFilter,RxMode,ControlVq,Status,MrgRxBuf,TxAllGSO,MacAddress>
virtio_pci0: negotiated features: 0x1078020 <NotifyOnEmpty,RxMode,ControlVq,Status,MrgRxBuf,MacAddress>
vtnet0: error setting host MAC filter table
DHCPDISCOVER on vtnet0 to 255.255.255.255 port 67 interval 3
DHCPOFFER from 10.0.2.2 (52:55:0a:00:02:02)
View gist:5602579
rem# df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/vbd0s1a 252M 200M 32M 86% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/vbd0s1e 504M 40M 424M 9% /var
/dev/vbd0s1f 252M 10K 232M 0% /tmp
/dev/vbd0s1g 3.1G 1.0G
View gist:5544122
/*
* stopevent()
*
* Stop a process because of a procfs event. Stay stopped until
* p->p_step is cleared (cleared by PIOCCONT in procfs).
*/
void
stopevent(struct proc *p, unsigned int event, unsigned int val)
{
spin_lock(&p->p_spin);
View gist:5271627
enhanceio_lru: eio_lru_instance_init: created new instance of LRU
[ 1429.562909] enhanceio: Setting replacement policy to lru
(2)enhanceio: Allocate 36070KB (4B per) mem for 9233920-entry cache (capacity:36210MB, associativity:256, block size:4096 bytes)
[ 1432.997421] enhanceio_lru: Initialized 36070 sets in LRU
enhanceio_lru: eio_lru_instance_init: created new instance of LRU
[ 2121.036741] enhanceio: Setting replacement policy to lru
(2)enhanceio: Allocate 36070KB (4B per) mem for 9233920-entry cache (capacity:36210MB, associativity:256, block size:4096 bytes)
[ 2122.530401] enhanceio: Cache metadata loaded from disk with 31353 valid 0 dirty blocksenhanceio: Setting mode to write back
View gist:5264206
Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await r_await w_await svctm %util
sda 0.00 0.00 0.00 23.00 0.00 184.00 16.00 0.04 1.57 0.00 1.57 0.17 0.40
^ -- cache device
sdb 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
sdc 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
sdd 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
sde 0.00 0.00 33.00 0.00 336.00 0.00 20.36 1.32 39.64 39.64 0.00 30.06 99.20
^ -- iSCSI source volume
View gist:5264160
reads 96259
writes 184
read_hits 0
read_hit_pct 0
write_hits 0
write_hit_pct 0
dirty_write_hits 0
dirty_write_hit_pct 0
cached_blocks 3986
rd_replace 0