guides:plotting:stalesnomore
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
guides:plotting:stalesnomore [2021/11/18 14:54] – vleesbanaan | guides:plotting:stalesnomore [2021/11/18 14:58] (current) – gnomuz | ||
---|---|---|---|
Line 3: | Line 3: | ||
Copying a plot from the temporary drive to your final drive after its completion leads to a high amount of input-output (IO) traffic. This often results in partials being sent too late to the pool (stale), which causes your partial to be rejected. The following bash script details how you could avoid this, by adapting the ioscheduler on a plots storage drive so that the farmer doesn' | Copying a plot from the temporary drive to your final drive after its completion leads to a high amount of input-output (IO) traffic. This often results in partials being sent too late to the pool (stale), which causes your partial to be rejected. The following bash script details how you could avoid this, by adapting the ioscheduler on a plots storage drive so that the farmer doesn' | ||
- | #!/bin/bash | + | < |
FS="< | FS="< | ||
DEVICE=`lsblk -ndo pkname $(findmnt -nro source $FS)` | DEVICE=`lsblk -ndo pkname $(findmnt -nro source $FS)` | ||
echo $DEVICE | echo $DEVICE | ||
- | < | + | echo " |
echo 1 >/ | echo 1 >/ | ||
echo 1500 >/ | echo 1500 >/ |
guides/plotting/stalesnomore.1637247277.txt.gz · Last modified: 2021/11/18 14:54 by vleesbanaan