5 ms·
SMT is easier to program. Walking a single linked-list is nothing; A garbage collector walks lots of them that tend to fan out for a bit.
by geocar 6y ago
SMT is easier to program.
Walking a single linked-list is nothing; A garbage collector walks lots of them that tend to fan out for a bit.
- jeffbee 6y agoSMT gives you some probability that thread X and thread Y are under-using the resources of the CPU but if you lose that bet you get antagonism. On Intel CPUs in particular there are only 2 slots for filling cache lines, and filling them randomly from main memory takes many cycles, so two threads can easily get starved. If thread X is chasing a linked list and thread Y is compressing an MPEG then it's brilliant.
- gpsar 6y agoSoftware SMT is even better for concurrent traversals as you are not limited by the number of hw contexts https://www.linkedin.com/pulse/dont-stall-multitask-georgios-psaropoulos https://www.linkedin.com/pulse/dont-stall-multitask-georgios...