OpenWrt Forum Archive

Topic: Does the x86-generic support SMP?

The content of this topic has been archived on 4 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Does the current OpenWRT trunk support SMP (multi-processor/core)?

Looking over the current kernel configuration (https://dev.openwrt.org/browser/trunk/t … onfig-3.10) I dont see "CONFIG_SMP=y".  This would lead me to believe OpenWRT does not support SMP at this time (2/13/2014). :-(  If so, any reasons why?

(Last edited by DingbatCA on 13 Feb 2014, 20:11)

Anyone?

Just checked on my new AMD T40E board from PCEngines: No, only one CPU supported. Also no HIMEM support, only 800MB RAM are supported. :-(

Strange kernel config for a x86 target. Most x86 processors today are multi-core. And more than 800MB is also pretty normal these days.

So, I guess I will need to look into kernel compilation myself...

Is there any known way to only make the kernel and all the modules as ipk packages?

That makes me sad.  I have the same issue(s).  I only see 1 CPU and 882MB ram.

root@OpenWrt:~# head -n1 /proc/meminfo 
MemTotal:         903272 kB

root@OpenWrt:~# dmidecode
...
    Size: 2048 MB
    Form Factor: DIMM
    Set: None
    Locator: DIMM0
    Bank Locator: BANK0
    Type: SDRAM

...

I have built many kernels, but I have no clue if you can make a new kernel with support for old modules. 

I would like to see a few things added to the kernel.  HighMEM, SMP and CPUFreq.  Now all that stated... This is a router/AP.  Not a DB.  Do you really need more than 128MB's ram?

Alternative concept that I have been pondering for some time.  Virtualize the hardware layer.  My person preference for this would be to use Xen, and use PCI pass through to attach the network cards directly into OpenWRT.  Just an idea.

(Last edited by DingbatCA on 12 Mar 2014, 17:40)

Fixed. Apparently,

make kernel_menuconfig
allows setting SMP.

And looking at:
trunk/build_dir/target-x86_64_uClibc-0.9.33.2

[...]
CONFIG_X86_64_SMP=y

BUT the generic image should have it enabled:
https://downloads.openwrt.org/snapshots … _64/config

Where is this file stored, so I can propose a patch?

(Last edited by gnutella on 24 Oct 2014, 12:00)

The discussion might have continued from here.