smp
Linux find out Hyper-threaded core id
I spe开发者_StackOverflow中文版nt this morning trying to find out how to determine which processor id is the hyper-threaded core, but without luck.[详细]
2023-04-02 08:28 分类:问答Is there a way to take advantage of multi-core when dealing with network connections?
When we doing network programming, no matter you use multi-process, multi-thread or select/poll(epoll), there is only one process/thread to deal with accept the connection on same port. And if you wan[详细]
2023-03-12 17:32 分类:问答Using Erlang for testing.
Can I test on a computer with a single core erlang programs for four or more cores? When starting without using any parameter erlang smp assumes 2:2 like this:[详细]
2023-01-24 13:14 分类:问答Java mutex with smp
I am learning multi-thread programming; and whilst practising mutex, I notice that it seems doesn\'t work correctly on my dule-c开发者_开发技巧ore laptop.[详细]
2023-01-05 23:54 分类:问答does the linux kernel in an SMP system guarantee that UDP packets arriving from a network in order will be read from a socket in order?
on a project I am working on, we are seeing out-of-order issues in certain circumstances on a SMP system when we are reading a UDP stream from t开发者_开发技巧he network. We can see it arrives from th[详细]
2023-01-04 14:51 分类:问答core at which function is running
consider a kernel tasklet scheduled and executing the tasklet function. Is there a way to know which core the tasklet is running ?[详细]
2023-01-03 05:04 分类:问答Processor affinity settings for Linux kernel modules?
In Windows, I can set the processor affinity of driver code using KeSetSystemAffinityThr开发者_如何学JAVAead, and check which processor my code is running on using KeGetCurrentProcessorNumber.[详细]
2023-01-03 03:18 分类:问答Why does block I/O completion take so long when crossing CPUs?
I am trying to squeeze the most performance out of a Linux block driver for a high-end storage device.One problem that has me a bit stumped at the moment is this: if a user task starts an I/O operatio[详细]
2022-12-13 22:12 分类:问答Erlang Documentation/SMP: single-node and multi-node per machine or per application, and the confusion that may follow
I\'m studying Erlang\'s process model at the moment. I have hit a snag in a tech report (section 3, paragraph 2) on Erlang:[详细]
2022-12-13 06:51 分类:问答Is there a simple process-based parallel map for python?
I\'m looking for a simple process-based parallel map for python, that is, a function parmap(function,[data])[详细]
2022-12-11 12:21 分类:问答