I hereby claim:
- I am tobert on github.
- I am tobert (https://keybase.io/tobert) on keybase.
- I have a public key whose fingerprint is AF40 7321 06AA 750B 287F 5265 A241 73D6 A6B8 5735
To claim this, I am signing this object:
| #!/usr/local/bin/perl | |
| use warnings; | |
| use strict; | |
| use Config::ApacheFormat; | |
| use Getopt::Long; | |
| use File::Path; | |
| use File::Basename; | |
| use Net::SSH::Perl; | |
| use Data::Dumper; # for debugging |
| #!/bin/bash | |
| # put this in /etc/dnsmasq.conf then start/restart it | |
| # modify the interface= to point at the ethernet port the device is connected to | |
| # optionally, set MAC address in the dhcp-host line to be the MAC of the device | |
| #interface=enp0s31f6 | |
| #dhcp-range=192.168.102.9,192.168.102.20,255.255.255.0,12h | |
| #dhcp-host=70:58:12:a8:e5:35,192.168.102.10 | |
| # set INTERNET_INTERFACE to the laptop's internet access interface, e.g. wifi interfaces |
| ########## | |
| # Win10 Initial Setup Script | |
| # Author: Disassembler <[email protected]> | |
| # Version: 1.7, 2016-08-15 | |
| # dasm's script: https://github.com/Disassembler0/Win10-Initial-Setup-Script/ | |
| # THIS IS A PERSONALIZED VERSION | |
| # This script leaves more MS defaults on, including MS security features. | |
| # Tweaked based on personal preferences for @alirobe 2016-11-16 - v1.7.1 |
| package hal | |
| import ( | |
| "regexp" | |
| "time" | |
| "github.com/netflix/hal-9001/hal" | |
| ) | |
| /* hal.Cmd, hal.Param, hal.CmdInst, and hal.ParamInst are handles for hal's |
I hereby claim:
To claim this, I am signing this object:
| gadget xen # xl create -c /etc/xen/archlinux.cfg | |
| Parsing config from /etc/xen/archlinux.cfg | |
| libxl: warning: libxl_dm.c:350:libxl__domain_device_construct_rdm: Ignoring RDM conflict at 0x7c4bf000. | |
| libxl: error: libxl_device.c:952:device_backend_callback: unable to add device with path /local/domain/0/backend/vbd/12/51712 | |
| libxl: error: libxl_create.c:1174:domcreate_launch_dm: unable to add disk devices | |
| libxl: error: libxl_dm.c:2004:libxl__destroy_device_model: xs_rm failed for /local/domain/0/device-model/12 | |
| libxl: error: libxl_dm.c:1956:kill_device_model: unable to find device model pid in /local/domain/12/image/device-model-pid | |
| libxl: error: libxl.c:1628:libxl__destroy_domid: libxl__destroy_device_model failed for 12 | |
| libxl: error: libxl_device.c:952:device_backend_callback: unable to remove device with path /local/domain/0/backend/vbd/12/51712 |
| # enable assertions. disabling this in production will give a modest | |
| # performance benefit (around 5%). | |
| JVM_OPTS="$JVM_OPTS -ea" | |
| # min and max heap sizes should be set to the same value to avoid | |
| # stop-the-world GC pauses during resize, and so that we can lock the | |
| # heap in memory on startup to prevent any of it from being swapped | |
| # out. | |
| JVM_OPTS="$JVM_OPTS -Xms${MAX_HEAP_SIZE}" | |
| JVM_OPTS="$JVM_OPTS -Xmx${MAX_HEAP_SIZE}" |
| Results: | |
| op rate : 1981 [simple:1981] | |
| partition rate : 1981 [simple:1981] | |
| row rate : 1981 [simple:1981] | |
| latency mean : 64.6 [simple:64.6] | |
| latency median : 40.4 [simple:40.4] | |
| latency 95th percentile : 150.0 [simple:150.0] | |
| latency 99th percentile : 185.3 [simple:185.3] | |
| latency 99.9th percentile : 308.0 [simple:308.0] | |
| latency max : 633.2 [simple:633.2] |
| diff --git a/src/java/org/apache/cassandra/io/util/RandomAccessReader.java b/src/java/org/apache/cassandra/io/util/RandomAccessReader.java | |
| index 95877a2..47b4b9b 100644 | |
| --- a/src/java/org/apache/cassandra/io/util/RandomAccessReader.java | |
| +++ b/src/java/org/apache/cassandra/io/util/RandomAccessReader.java | |
| @@ -31,6 +31,7 @@ public class RandomAccessReader extends RandomAccessFile implements FileDataInpu | |
| // default buffer size, 64Kb | |
| public static final int DEFAULT_BUFFER_SIZE = 65536; | |
| + public static final int BUFFER_SIZE = getBufferSize(); |
| Results: | |
| op rate : 7741 [READ:7741] | |
| partition rate : 7741 [READ:7741] | |
| row rate : 7741 [READ:7741] | |
| latency mean : 103.3 [READ:103.3] | |
| latency median : 79.6 [READ:79.6] | |
| latency 95th percentile : 217.7 [READ:217.7] | |
| latency 99th percentile : 347.9 [READ:347.9] | |
| latency 99.9th percentile : 515.7 [READ:515.7] | |
| latency max : 977.7 [READ:977.7] |