Questions tagged [smp]

Symmetric multiprocessing

"Symmetric multiprocessing (SMP) involves a multiprocessor computer hardware architecture where two or more identical processors are connected to a single shared main memory and are controlled by a single OS instance. Most common multiprocessor systems today use an SMP architecture." [Source: Wikipedia.]

151 questions
3
votes
1 answer

How to correctly use a startup-ipi to start an application processor?

My goal is to let my own kernel start an application cpu. It uses the same mechanism as the linux kernel: Send asserting and level triggered init-IPI Wait... Send deasserting and level triggered init-IPI Wait... Send up to two startup-IPIs with…
user1678062
  • 573
  • 5
  • 16
3
votes
3 answers

What is data-dependency barrier: Linux Kernel

As question says it all I was looking for in depth explanation of data-dependency barrier in SMP especially with respect to Linux Kernel. I have the definition and brief description handy in this link here. Linux Kernel Memory Barriers…
Ace
  • 1,501
  • 4
  • 30
  • 49
3
votes
4 answers

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: This explains why it in some cases can be more efficient to run several SMP VM's with one scheduler each instead on one SMP…
Hassan Syed
  • 20,075
  • 11
  • 87
  • 171
3
votes
3 answers

Concurrent stores seen in a consistent order

The Intel Architectures Software Developer's Manual, Aug. 2012, vol. 3A, sect. 8.2.2: Any two stores are seen in a consistent order by processors other than those performing the stores. But can this be so? The reason I ask is this: Consider a…
thb
  • 13,796
  • 3
  • 40
  • 68
2
votes
0 answers

rpi-benchmark seems to have crashed my system: SMP : failed to stop secondary CPUs after running

For analysis / benchmarking, I ran https://github.com/aikoncwd/rpi-benchmark I ran rpi-benchmark on 3 pi's, 2 x model "1" and 1 model "2" On the model 1 it ran OK. On the model 2, it crashed my system. It ran OK, but immediately after that I got…
Adriaan
  • 41
  • 8
2
votes
1 answer

How seastar invoke codes on different cpus?

I am currently working with seastart framework, and find it claims that seastart can submit task to different cpus. Seastar claims that it shares nothing between different coers. So I think seastar binds differnet threads to different cpus, and…
Al2O3
  • 3,103
  • 4
  • 26
  • 52
2
votes
0 answers

Linux - Handle interrupts on another cpu

I'm trying to handle an interrupt with a group of cpus instead of the all available cpus in the system. Basically, I want CPUs 32-63 to handle an interrupt while others interrupts are handled by CPUs 0-63. If I'm not wrong, you are suppose to change…
Franks
  • 50
  • 8
2
votes
1 answer

Entering Protected Mode: Triple-Fault

I am adding SMP to my kernel, in which the AP should boot. It starts in realmode and faults on entering protected mode. To be clear, it faults on the JMP 0x8:... after loading CR0. I am sure that the AP is getting its code, because looping anywhere…
Shukant Pal
  • 706
  • 6
  • 19
2
votes
1 answer

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: Erlang R14A (erts-5.8) [smp: 2:2] [rq: 2] [async-threads: 0] I am using a Pentium 4, does…
Gmp
  • 179
  • 10
2
votes
0 answers

Python real time parallel / distributed data processing

I have a Python application that processes in-memory-data. It provides <1 second response, by querying ~1 million records and then aggregating the result set. What would be the best Python framework(s) to make this application more scalable ? Here…
ramu
  • 1,415
  • 1
  • 13
  • 12
2
votes
1 answer

who does Napi scheduling

I had a doubt while reading about NAPI scheduling in Network drivers. Typically, entire network processing code runs in softirq context. And with NAPI polling mechanism the driver will poll for packets after interrupt arrives. So, if NAPI code also…
Haswell
  • 1,573
  • 1
  • 18
  • 45
2
votes
1 answer

CPU affinity in Linux 3.19

I have a problem setting CPU affinity on a number of kernel threads. The kernel is a variant of 3.19 (with SMP 100Hz) on a 6 core Intel with hyper-threading disabled. I have set isolcpus=1-5. The aim is to have these cores in dyntick mode (with RCU…
toomanychushki
  • 149
  • 1
  • 6
2
votes
0 answers

Can't start SMP AP processors in MINIX: startup_IPI restarts and hangs

i'm running minix 3.1.2a ,my goal is to start APs procesoors other than the BSP ,i followed the universal startup algorithm : BSP sends AP an INIT IPI BSP DELAYs (10mSec) BSP sends AP a STARTUP IPI BSP DELAYs (200μSEC) BSP sends AP a STARTUP…
user2963216
  • 391
  • 2
  • 4
  • 11
2
votes
0 answers

Reason for getting the error on org.apache.cordova.whitelist package in my command Line Interface(CLI) created Project for platform as Android

I am trying to create a simple cordova project using the command line Interface After Plugins Release and Moving plugins to npm: April 21, 2015 as on site . https://cordova.apache.org/announcements/2015/04/21/plugins-release-and-move-to-npm.html Is…
Yamini
  • 523
  • 1
  • 5
  • 7
2
votes
1 answer

Perf event for sending reschedule interrupt?

When a process wakes another process on the same core, a sched:sched_wakeup event is generated with both PIDs. This is great for finding relationships between processes. When a process wakes another process on a different core, the second core…
dspeyer
  • 2,904
  • 1
  • 18
  • 24