Tool to tune system parameters like PoH service priority (#7155)

* New daemon to tune system parameters like PoH service priority

* fixes for Linux

* integrate with poh_service

* fixes

* address review comments

* remove `dead_code` directive
This commit is contained in:
Pankaj Garg
2019-12-02 16:46:46 -08:00
committed by GitHub
parent 41cff1b49d
commit 076e384bb5
9 changed files with 204 additions and 0 deletions

10
sys-tuner/src/lib.rs Normal file
View File

@@ -0,0 +1,10 @@
use log::*;
use unix_socket::UnixStream;
pub const SOLANA_SYS_TUNER_PATH: &str = "/tmp/solana-sys-tuner";
pub fn request_realtime_poh() {
info!("Sending tuning request");
let status = UnixStream::connect(SOLANA_SYS_TUNER_PATH);
info!("Tuning request status {:?}", status);
}