VEGAS/ipfs: tune IO performance
This commit is contained in:
parent
5157c9bec1
commit
16283ae286
1 changed files with 16 additions and 0 deletions
|
@ -71,6 +71,22 @@ in
|
|||
postStart = "chmod 660 /run/ipfs/ipfs-api.sock";
|
||||
};
|
||||
|
||||
systemd.slices.remotefshost.sliceConfig = {
|
||||
IOWeight = 5;
|
||||
IOReadIOPSMax = [
|
||||
"/dev/sda 100"
|
||||
"/dev/sdb 100"
|
||||
];
|
||||
IOWriteIOPSMax = [
|
||||
"/dev/sda 100"
|
||||
"/dev/sdb 100"
|
||||
];
|
||||
IODviceLatencyTargetSec = [
|
||||
"/dev/sda 500ms"
|
||||
"/dev/sdb 500ms"
|
||||
];
|
||||
};
|
||||
|
||||
environment.variables.IPFS_PATH = lib.mkForce "${ipfsApi}";
|
||||
|
||||
environment.shellAliases = {
|
||||
|
|
Loading…
Reference in a new issue