Start sf_buffer in separate cpuset

This commit is contained in:
2020-05-12 11:58:34 +02:00
parent 14a50fb08e
commit 020312788b
2 changed files with 5 additions and 0 deletions
+2
View File
@@ -26,6 +26,8 @@ https://blog.cloudflare.com/how-to-achieve-low-latency/
https://opensource.com/article/19/2/fair-scheduling-linux
- Caching and Buffering in HDF5
https://de.slideshare.net/HDFEOS/caching-and-buffering-in-hdf5
- Cpusets
https://www.kernel.org/doc/Documentation/cgroup-v1/cpusets.txt
+3
View File
@@ -8,6 +8,9 @@ fi
M=$1
# Add ourselves to the user cpuset.
echo $$ > /sys/fs/cgroup/cpuset/user/tasks
#8 udp2buffer workers per core
#coreAssociatedBuffer=(1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 3 3 3 3 3 3 3 3 4 4 4 4 4 4 4 4)
#4 udp2buffer workers per core