Side note: all available resource metrics are documented here:
These are used for isolating files on disk from both the host system as well as other running tasks.
| #!/usr/bin/env python2 | |
| import argparse | |
| import subprocess | |
| import logging | |
| import distutils.util | |
| from shutil import copyfile | |
| fmt_string = 'certs %(levelname)s:%(asctime)s line:%(lineno)d] %(message)s' | |
| logging.basicConfig(format=fmt_string) |
| smf_gen( | |
| CPP | |
| TARGET_NAME wal_gened | |
| OUTPUT_DIRECTORY ${CMAKE_BINARY_DIRECTORY}/filesystem | |
| SOURCES wal.fbs | |
| ) | |
| add_library (rpfs STATIC | |
| ${PROJECT_SOURCE_DIR}/src/filesystem/wal_writer_node.cc | |
| ${PROJECT_SOURCE_DIR}/src/filesystem/wal_writer.cc |
| namespace smf_gen.demo; | |
| table Request { | |
| name: string; | |
| } | |
| table Response { | |
| name: string; | |
| } | |
| rpc_service SmfStorage { | |
| Get(Request):Response; |
| Producer | |
| Setup | |
| bin/kafka-topics.sh --zookeeper esv4-hcl197.grid.linkedin.com:2181 --create --topic test-rep-one --partitions 6 --replication-factor 1 | |
| bin/kafka-topics.sh --zookeeper esv4-hcl197.grid.linkedin.com:2181 --create --topic test --partitions 6 --replication-factor 3 | |
| Single thread, no replication | |
| bin/kafka-run-class.sh org.apache.kafka.clients.tools.ProducerPerformance test7 50000000 100 -1 acks=1 bootstrap.servers=esv4-hcl198.grid.linkedin.com:9092 buffer.memory=67108864 batch.size=8196 |
Side note: all available resource metrics are documented here:
These are used for isolating files on disk from both the host system as well as other running tasks.
| --- | |
| - | |
| set_fact: | |
| key_shortcuts: | |
| - | |
| binding: "'<Super>9'" | |
| command: "'xdotool search --desktop 0 --class Emacs windowactivate'" | |
| gnome_key: "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0" | |
| name: "'emacs'" |
| --- | |
| - name: Adding Intel CPU PMU tools | |
| git: | |
| repo='https://github.com/andikleen/pmu-tools' | |
| accept_hostkey=yes | |
| clone=yes | |
| dest="{{user_bin_dir}}/pmu_tools" | |
| update=yes | |
| recursive=yes |
| // Copyright (c) 2016 Alexander Gallego. All rights reserved. | |
| // | |
| #include "chain_replication/chain_replication_service.h" | |
| #include <utility> | |
| #include "chain_replication/chain_replication_utils.h" | |
| #include "filesystem/wal_requests.h" | |
| #include "hashing/hashing_utils.h" | |
| #include "seastar_io/priority_manager.h" |
| // Generated by the smf_gen. | |
| // Any local changes WILL BE LOST. | |
| // source: /home/agallego/workspace/smf/src/flatbuffers/demo_service | |
| #pragma once | |
| #ifndef SMF_DEMO_SERVICE_INCLUDED | |
| #define SMF_DEMO_SERVICE_INCLUDED | |
| // hack: to use seastar's string type | |
| #include <core/sstring.hh> |
| #include <iostream> | |
| #include <string> | |
| #include <re2/re2.h> | |
| #include <vector> | |
| using namespace std; | |
| void test_fullmatch(){ | |
| string s,t; | |
| string str("あぶらかたぶら"); |