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
0
votes
2 answers

How can I change the Erlang makefile so that it enables the SMP mode?

I want to develop an application which requires SMP. But in the Erlang makefile I am using, the options are set in non-smp mode. Hence, when I start the application, I get an error in the Shell indicating that the SMP emulator is required and that…
0
votes
1 answer

Why Giant Lock must be taken before any non-sleepable locks

I am trying to understand the reason for 3rd point - and most importantly the must condition from the link below : https://www.freebsd.org/cgi/man.cgi?locking(9) Giant Giant is a special mutex used to protect data structures that do not yet …
ultimate cause
  • 2,264
  • 4
  • 27
  • 44
0
votes
0 answers

Is there a way to emulate symmetric multiprocessing over TCP/IP?

I have a number-crunching multithreaded software which creates a thread per CPU. For example, if cat /proc/cpuinfo | grep proc | wc -l prints 24 than the software will create 24 threads. I want to connect additional X machines with Y cpu cores so…
rlib
  • 7,444
  • 3
  • 32
  • 40
0
votes
0 answers

Multicore Assembly on the Allwinner H3

I'm using a NanoPi Neo Air and I'm finding it impossible to get any code to run on any of the other cores. I am using no OS. This example shows how to get multicore code running on the Raspberry Pi. I have not been able to find any information about…
somebody0
  • 53
  • 6
0
votes
1 answer

utilizing multiple cores in a multicore/multithread application

In Linux, I see two approaches for running multicore applications. Assume a program utilizes 2 cores. With the first approach, by using top, I see two processes and each each core is 100% utilized 22213 mahmood 20 0 1951m 180m 21m R 101.4 0.3…
mahmood
  • 23,197
  • 49
  • 147
  • 242
0
votes
0 answers

Memory efficient SMP in python

I have a computationally heavy project that appears to be a good candidate for parallelization. The code uses a large number of GIS contours and takes up roughly 1.5 GB of memory as a single process. There are two levels of logic that can be…
Mike Bannister
  • 129
  • 2
  • 8
0
votes
1 answer

Could you tell me how to replace reset vector for secodary cpus in ARM architecture v7?

I know that arm reset vectors can be low(0x00000000) or high(0xffff0000). But some SoC's codes in linux kernel saying the reset vectors can be changed. For example, in mach-imx static int __cpuinit imx_boot_secondary(unsigned int cpu, struct…
Youngdo Lee
  • 158
  • 6
0
votes
1 answer

OpenBSD for ARMv7 does not support SMP

According to the home page OpenBSD for ARMv7, the kernel does not support SMP. Does this mean even if there are multiple cores in a CPU, only one core will work?
user2269707
0
votes
3 answers

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-core laptop. The mutex code is at http://pastebin.com/axGY5y3c The result is as below: count value:t[0]1 count…
0
votes
2 answers

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 ? I mean is there a function / variable to know at which core the tasklet is running at. Architecture is arm. Thanks!
kumar
  • 2,530
  • 6
  • 33
  • 57
0
votes
1 answer

Error while importing my Kapsel cordova project in eclipse on org.apache.cordova.whitelist

Kapsel Cordova project for Android as a Platform Hello, I am very new to Kapsel Cordova and to SMP3.0 .I have created the Kapsel Cordova project using the command line Interface(CLI) for platform as an android .I have also added different plugins…
Yamini
  • 523
  • 1
  • 5
  • 7
0
votes
2 answers

smp affinity setting in linux

I want to load balance the interrupt (irq 75) on my virtual machine system. It has 64 bit redhat 5.8, kernel 2.6.18. There are 8 CPUs in the virtual machine. When I run: cat /proc/interrupts 75: 9189 0 0 0 0 0 0 0 …
Arda Demiray
  • 31
  • 1
  • 4
0
votes
1 answer

Erlang: SMP under VPS-hosting?

Is it typically possible for Erlang to use (schedule across) multiple cores (SMP) in a typical VPS-hosted situation? I don't know much about virtual hosting or xen or anything else, but my understanding is that erlang would live in a "virtual…
user1992634
  • 764
  • 7
  • 16
0
votes
0 answers

Kernel Panic after SMP Implementation - Attempted to kill init

I am working on implementing SMP support in Linux kernel for Marvell PXA2128 ARM SoC. I am using Linus Torvald kernel as base kernel. Kernel version is 3.5. I have added SMP support in Linux kernel, I am able to boot with the second core but…
Darshan Prajapati
  • 843
  • 2
  • 11
  • 33
0
votes
0 answers

How BogoMIPS is calculated on SMP Linux Systems?

I worked on Linux kernel to implement Symmetric Multi Processing support for one ARM SoC. When Kernel was running as Uniprocessor, the BogoMIPS value was 1171. But when I turned on SMP support in Linux kernel, BogoMIPS value decreased drastically to…
Darshan Prajapati
  • 843
  • 2
  • 11
  • 33