| Server IP : 91.240.85.141 / Your IP : 216.73.216.223 Web Server : nginx/1.28.0 System : Linux nuevo.ru 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : ( 1029) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/tuned/cpu-partitioning/ |
Upload File : |
#!/bin/bash
type getargs >/dev/null 2>&1 || . /lib/dracut-lib.sh
cpumask="$(getargs tuned.non_isolcpus)"
files=$(echo /sys/devices/virtual/workqueue{/,/*/}cpumask)
log()
{
echo "tuned: $@" >> /dev/kmsg
}
if [ -n "$cpumask" ]; then
log "setting workqueues CPU mask to $cpumask"
for f in $files; do
if [ -f $f ]; then
if ! echo $cpumask > $f 2>/dev/null; then
log "ERROR: could not write workqueue CPU mask '$cpumask' to '$f'"
fi
fi
done
fi