On Tue, Oct 29, 2019 at 3:17 PM Simon Matter <simon.mat...@invoca.ch> wrote:
>
> So you have 4 real cores, not 8. From how I understand it one fully used
> core (one of the 4) can have a negative impact on its (virtual) sibling.

Yes, but why does the following command have absolutely no negative
impact on my network latency while shorewall reload does?

# stress -v --cpu 8 --timeout 60
stress: info: [8225] dispatching hogs: 8 cpu, 0 io, 0 vm, 0 hdd
stress: dbug: [8225] using backoff sleep of 24000us
stress: dbug: [8225] setting timeout to 60s
stress: dbug: [8225] --> hogcpu worker 8 [8226] forked
stress: dbug: [8225] using backoff sleep of 21000us
stress: dbug: [8225] setting timeout to 60s
stress: dbug: [8225] --> hogcpu worker 7 [8227] forked
stress: dbug: [8225] using backoff sleep of 18000us
stress: dbug: [8225] setting timeout to 60s
stress: dbug: [8225] --> hogcpu worker 6 [8228] forked
stress: dbug: [8225] using backoff sleep of 15000us
stress: dbug: [8225] setting timeout to 60s
stress: dbug: [8225] --> hogcpu worker 5 [8229] forked
stress: dbug: [8225] using backoff sleep of 12000us
stress: dbug: [8225] setting timeout to 60s
stress: dbug: [8225] --> hogcpu worker 4 [8230] forked
stress: dbug: [8225] using backoff sleep of 9000us
stress: dbug: [8225] setting timeout to 60s
stress: dbug: [8225] --> hogcpu worker 3 [8231] forked
stress: dbug: [8225] using backoff sleep of 6000us
stress: dbug: [8225] setting timeout to 60s
stress: dbug: [8225] --> hogcpu worker 2 [8232] forked
stress: dbug: [8225] using backoff sleep of 3000us
stress: dbug: [8225] setting timeout to 60s
stress: dbug: [8225] --> hogcpu worker 1 [8233] forked
stress: dbug: [8225] <-- worker 8228 signalled normally
stress: dbug: [8225] <-- worker 8229 signalled normally
stress: dbug: [8225] <-- worker 8230 signalled normally
stress: dbug: [8225] <-- worker 8232 signalled normally
stress: dbug: [8225] <-- worker 8233 signalled normally
stress: dbug: [8225] <-- worker 8226 signalled normally
stress: dbug: [8225] <-- worker 8227 signalled normally
stress: dbug: [8225] <-- worker 8231 signalled normally
stress: info: [8225] successful run completed in 60s

Tasks: 401 total,   9 running, 392 sleeping,   0 stopped,   0 zombie
%Cpu(s): 98.8 us,  0.1 sy,  0.0 ni,  0.0 id,  0.0 wa,  0.0 hi,  1.1 si,  0.0 st
KiB Mem : 32865016 total,  4100456 free,  6318748 used, 22445812 buff/cache
KiB Swap: 37036988 total, 37036988 free,        0 used. 26044336 avail Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
 8232 root      20   0    7248     96      0 R  99.7  0.0   0:25.00 stress
 8233 root      20   0    7248     96      0 R  99.0  0.0   0:24.60 stress
 8226 root      20   0    7248     96      0 R  98.7  0.0   0:24.79 stress
 8229 root      20   0    7248     96      0 R  98.7  0.0   0:24.22 stress
 8228 root      20   0    7248     96      0 R  98.3  0.0   0:24.80 stress
 8230 root      20   0    7248     96      0 R  98.3  0.0   0:24.63 stress
 8227 root      20   0    7248     96      0 R  98.0  0.0   0:24.91 stress
 8231 root      20   0    7248     96      0 R  93.4  0.0   0:24.27 stress
[...]

Vieri


_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to