This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Run as root | |
cpupower frequency-set -g performance | |
echo 1 > /sys/devices/system/cpu/intel_pstate/no_turbo | |
cryptsetup benchmark | |
# DESTRUCTIVE! | |
blkdiscard -f /dev/nvme0n1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h | |
index 9f136763fbff..66a74ad058c8 100644 | |
--- a/fs/fuse/fuse_i.h | |
+++ b/fs/fuse/fuse_i.h | |
@@ -33,10 +33,10 @@ | |
#include <linux/user_namespace.h> | |
/** Default max number of pages that can be used in a single read request */ | |
-#define FUSE_DEFAULT_MAX_PAGES_PER_REQ 512 | |
+#define FUSE_DEFAULT_MAX_PAGES_PER_REQ 1024 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/pre_commit/xargs.py b/pre_commit/xargs.py | |
index eea3acd..085172f 100644 | |
--- a/pre_commit/xargs.py | |
+++ b/pre_commit/xargs.py | |
@@ -1,6 +1,8 @@ | |
from __future__ import absolute_import | |
from __future__ import unicode_literals | |
+import concurrent.futures | |
+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ rust-gdb target/debug/fizzbuzz | |
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1 | |
... | |
Reading symbols from target/debug/fizzbuzz...done. | |
(gdb) info source | |
No current source file. | |
(gdb) start | |
... | |
Temporary breakpoint 1, 0x000055555555fa04 in main () | |
(gdb) info source |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
execve("./target/release/oom", ["./target/release/oom"], [/* 82 vars */]) = 0 | |
brk(NULL) = 0x561b1fa54000 | |
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) | |
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa20c30c000 | |
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) | |
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 | |
fstat(3, {st_mode=S_IFREG|0644, st_size=172301, ...}) = 0 | |
mmap(NULL, 172301, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fa20c2e1000 | |
close(3) = 0 | |
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
execve("./target/release/oom", ["./target/release/oom"], [/* 82 vars */]) = 0 | |
brk(NULL) = 0x5560368d9000 | |
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) | |
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5b65ca0000 | |
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) | |
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 | |
fstat(3, {st_mode=S_IFREG|0644, st_size=172301, ...}) = 0 | |
mmap(NULL, 172301, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f5b65c75000 | |
close(3) = 0 | |
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
execve("./target/debug/oom", ["./target/debug/oom"], [/* 82 vars */]) = 0 | |
brk(NULL) = 0x55e6f6382000 | |
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) | |
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f54fadf0000 | |
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) | |
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 | |
fstat(3, {st_mode=S_IFREG|0644, st_size=172301, ...}) = 0 | |
mmap(NULL, 172301, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f54fadc5000 | |
close(3) = 0 | |
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am ccope on github. | |
* I am camcope (https://keybase.io/camcope) on keybase. | |
* I have a public key ASCJFG8BC6u0xma-djE_W4WqZ8Jom_NN9QFs7Q3AV9-n1go | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2017-01-03T10:03:59+00:00] INFO: Processing apt_package[lxc packages] action install (mycookbook::lxc line 16) | |
================================================================================ | |
Error executing action `install` on resource 'apt_package[lxc packages]' | |
================================================================================ | |
Mixlib::ShellOut::ShellCommandFailed | |
------------------------------------ | |
Expected process to exit with [0], but received '100' | |
---- Begin output of apt-get -q -y --no-install-recommends --allow-unauthenticated install lxc-templates=2.0.6-0ubuntu1~ubuntu14.04.1~ppa1 liblxc1=2.0.6-0ubuntu1~ubuntu14.04.1~ppa1 lxc1=2.0.6-0ubuntu1~ubuntu14.04.1~ppa1 lxc=2.0.6-0ubuntu1~ubuntu14.04.1~ppa1 ---- | |
STDOUT: Reading package lists... | |
Building dependency tree... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2016-06-08T21:41:28+00:00] INFO: Forking chef instance to converge... | |
[2016-06-08T21:41:28+00:00] INFO: *** Chef 12.10.24 *** | |
[2016-06-08T21:41:28+00:00] INFO: Platform: x86_64-linux | |
[2016-06-08T21:41:28+00:00] INFO: Chef-client pid: 10359 | |
[2016-06-08T21:41:31+00:00] INFO: Setting the run_list to ["recipe[mycookbook::default]"] from CLI options | |
[2016-06-08T21:41:31+00:00] INFO: Run List is [recipe[mycookbook::default]] | |
[2016-06-08T21:41:31+00:00] INFO: Run List expands to [mycookbook::default] | |
[2016-06-08T21:41:31+00:00] INFO: Starting Chef Run for mycookbook | |
[2016-06-08T21:41:31+00:00] INFO: Running start handlers | |
[2016-06-08T21:41:31+00:00] INFO: Start handlers complete. |
NewerOlder