Würziger Kürbiskuchen aus Georgia, USA
Verwenden Sie entweder tiefgekühlten Blätterteig, oder Sie stellen einen echten anglo-amerikanerischen "pie"-Tieg her. Das geht blitz-schnell und gelingt immer, wenn Sie folgendes beachten:
| ## Enable kernel poll and a few async threads | |
| +K true | |
| +A 5 | |
| +Q 64000 | |
| +P 128000 | |
| +sbt db | |
| +sbwt very_long | |
| +swt very_low | |
| +sub true | |
| +Mulmbcs 32767 |
$ brew install unbound ldnsunbound.conf:Benchmark: fio write
Command: fio --name=seqwrite --rw=write --bs=128k --size=4g --end_fsync=1 --loops=4 # aggrb tput
Rationale: Measure the performance of a single threaded streaming write of a reasonably large file. The aim is to measure how well the file system and platform can sustain a write workload, which will depend on how well it can group and dispatch writes. It's difficult to benchmark buffered file system writes in both a short duration and in a repeatable way, as performance greatly depends on if and when the pagecache begins to flush dirty data. As a workaround, an fsync() at the end of the benchmark is called to ensure that flushing will always occur, and the benchmark also repeats four times. While this provides a much more reliable measurement, it is somewhat worst-case (applications don't always fsync), providing closer to a minimum rate – rather than a maximum rate – that you should expect.
| --- | |
| - hosts: cd-servers | |
| gather_facts: no | |
| sudo: true | |
| user: deploy | |
| tasks: | |
| - name: Install Couchdb dependencies | |
| yum: name={{ item }} state=installed | |
| with_items: | |
| - autoconf |
| Vagrant.configure("2") do |config| | |
| config.vm.network "forwarded_port", guest: 8091, host: 8091 | |
| config.vm.network "forwarded_port", guest: 8092, host: 8092 | |
| config.vm.network "forwarded_port", guest: 11210, host: 11210 | |
| config.vm.network "forwarded_port", guest: 9091, host: 9091 | |
| config.vm.network "forwarded_port", guest: 9200, host: 9200 | |
| config.vm.network "forwarded_port", guest: 9300, host: 9300 | |
| config.vm.network "forwarded_port", guest: 3133, host: 3133 | |
| end |
| #!/bin/bash | |
| # Pull this file down, make it executable and run it with sudo | |
| # wget https://gist.githubusercontent.com/bryanhunter/10380945/raw/build-erlang-17.0.sh | |
| # chmod u+x build-erlang-17.0.sh | |
| # sudo ./build-erlang-17.0.sh | |
| if [ $(id -u) != "0" ]; then | |
| echo "You must be the superuser to run this script" >&2 | |
| exit 1 | |
| fi |
These are my notes basically. At first i created this gist just as a reminder for myself. But feel free to use this for your project as a starting point. If you have questions you can find me on twitter @thomasf https://twitter.com/thomasf This is how i used it on a Debian Wheezy testing (https://www.debian.org/releases/testing/)
Discuss, ask questions, etc. here https://news.ycombinator.com/item?id=7445545
| ;;; File: emacs-indent-erlang | |
| ;;; adapted from http://www.cslab.pepperdine.edu/warford/BatchIndentationEmacs.html | |
| ;; this has to be set to the real path on your system | |
| (add-to-list 'load-path "~/.emacs.d/elpa/erlang-20131025.6") | |
| (load-library "erlang") | |
| ;; comment out the call to untabify if you want the mixed tabs and spaces | |
| (defun emacs-indent-function () |