--
You received this message because you are subscribed to the Google Groups "mechanical-sympathy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mechanical-symp...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
However, i have a follow up question on Gil's response. If I use isolcpus to isolate at set of cores and use Peter Lawrey's Java-Thread-Affinity library to pin the apps threads on to them that still leaves JVMs threads (like compiler or GC threads) unpinned. I have tried the taskset -c but noticed all threads are pinned to first core i give. So how can i distribute JVM threads across my cores if i am using hotspot JVM? Also, does Zing JVM do anything different for these usecases?
To unsubscribe from this group and stop receiving emails from it, send an email to mechanical-sympathy+unsub...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "mechanical-sympathy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mechanical-sympathy+unsub...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "mechanical-sympathy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mechanical-sympathy+unsub...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "mechanical-sympathy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mechanical-sympathy+unsub...@googlegroups.com.
Yeah, I agree - can't think of a good reason one would want this behavior.
sent from my phone
To unsubscribe from this group and stop receiving emails from it, send an email to mechanical-symp...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "mechanical-sympathy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mechanical-symp...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "mechanical-sympathy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mechanical-symp...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "mechanical-sympathy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mechanical-symp...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "mechanical-sympathy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mechanical-symp...@googlegroups.com.
Yes, that's correct modulo irq handling - you'll need to steer irq handling away from isolated cores (good idea anyway if you're, e.g., ingesting lots of net packets and want to handle them on the cpus closer to the NIC). Also, I believe there are still some kernel tasks that may get scheduled on the isolated cpus (e.g. RCU, scheduler accounting code) and of course the cpu will handle IPIs coming from other cpus. IIRC, there was some planned work to further allow minimizing kernel tasks on the isolated cpus.
sent from my phone
If I am understanding well, isolcpus indicates to the Kernel that it does not use at all those cpu for scheduling. so no automatic scheduling for those cpu (cores).If you put threads on those cpus you are on your own to schedule them (with taskset/sched_setaffinity), core by core.
Is it correct?
--
You received this message because you are subscribed to a topic in the Google Groups "mechanical-sympathy" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mechanical-sympathy/zJ86pHjvJQU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mechanical-symp...@googlegroups.com.
Yes. Here's a good blog post that touches on this aspect (amongst others): http://www.breakage.org/2013/11/15/nohz_fullgodmode/
sent from my phone