POV-Ray : Newsgroups : povray.off-topic : How do you run code in more than one core? : Re: How do you run code in more than one core? Server Time
29 Jul 2024 02:26:43 EDT (-0400)
  Re: How do you run code in more than one core?  
From: Le Forgeron
Date: 6 Nov 2012 08:46:10
Message: <509914a2$1@news.povray.org>
Le 06/11/2012 14:33, Warp a écrit :
> clipka <ano### [at] anonymousorg> wrote:
>> The APs enter Halt state, so to wake them up you trigger whatever event 
>> gets a CPU out of Halt... Interrupt, maybe? You COULD possibly read up 
>> on it in the System Programmer's Guide; see the link I posted.
> 
> So far what I have gathered is this:
> 
> The correct answer depends on the processor architecture, of course, but
> for example in most Intel-based architectures there's a physical controller
> chip named APIC (Advanced Programmable Interrupt Controller) that's used
> for, among other things, wake up additional processors/cores and make them
> run specified code.
> 
> What I still can't figure out is how exactly you tell the APIC to do that.
> 

Probably like with any other controller: read & write operation to its
'magical' locations (so, load & store in assembly...)

From page 7, it seems the APIC registers are in a 4K-byte page....


>
http://www.intel.com/content/dam/doc/specification-update/64-architecture-x2apic-specification.pdf


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.