DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD General

NetBSD General Other questions regarding NetBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 16th December 2023
rons's Avatar
rons rons is offline
Snoozing
 
Join Date: Oct 2015
Posts: 69
Default NetBSD ARM SMP limited to 5?

I have been having some fun lately with my Odroid XU4 running NetBSD 9.2. I even have a 'desktop' using X windows via the virtual framebuffer server Xvfb (since the ARM NetBSD build does not yet do native real framebuffers).

It works pretty well, but I notice on long compilations such as firefox, I can only ever see 5 cores running in 'top' view for the c compiler, even though the Odroid is an eight core board. Is the limit 5 cores for all architectures, or what?
Reply With Quote
  #2   (View Single Post)  
Old 18th December 2023
Onauk's Avatar
Onauk Onauk is offline
Real Name: Thomas
Fdisk Soldier
 
Join Date: Jan 2023
Location: France
Posts: 60
Default

Quote:
Originally Posted by rons View Post
I have been having some fun lately with my Odroid XU4 running NetBSD 9.2. I even have a 'desktop' using X windows via the virtual framebuffer server Xvfb (since the ARM NetBSD build does not yet do native real framebuffers).
I remember using vfb on macos-ppc with 1GHz single core and it worked pretty well! Could run twm easily, fvwm was less enjoyable. Always nice to have this option when the drivers are not available.

Quote:
Originally Posted by rons View Post
It works pretty well, but I notice on long compilations such as firefox, I can only ever see 5 cores running in 'top' view for the c compiler, even though the Odroid is an eight core board. Is the limit 5 cores for all architectures, or what?
Do you use special flags to run on 8 cores? *I have not compiled a lot of C code but I*remember something like -jN to run on N cores.
Reply With Quote
  #3   (View Single Post)  
Old 18th December 2023
rons's Avatar
rons rons is offline
Snoozing
 
Join Date: Oct 2015
Posts: 69
Default

Quote:
Do you use special flags to run on 8 cores? *I have not compiled a lot of C code but I*remember something like -jN to run on N cores.
Hi again,

Well, yes you use -j or in my case just set environment variable MAKE_JOBS=7 (leaving a core for my stuff LOL). As it turn out, eight cores wouldn't have been enough cores because it's the memory that I lack and need to compile firefox102. It takes 32GB of memory - YIKES!. So, that's gonna require cross-compile on intel or amd unfortunately. With five cores, was able to build Xorg and Gtk3 and Rust cargo pretty easily, but firefox 102 was a Odroid killer (only 4GB memory including swap!)
Reply With Quote
  #4   (View Single Post)  
Old 18th December 2023
rons's Avatar
rons rons is offline
Snoozing
 
Join Date: Oct 2015
Posts: 69
Default

Quote:
I remember using vfb on macos-ppc with 1GHz single core and it worked pretty well! Could run twm easily, fvwm was less enjoyable. Always nice to have this option when the drivers are not available.
Xvfb works great, response is fast on local network. Still have to work out the security details for the X11 forwarding tho, as it is not secure by default. :-)
Reply With Quote
Reply

Tags
9.2, cores, netbsd, odroid, smp


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Processor speed limited by _PPC ACPI objects ermanno OpenBSD Installation and Upgrading 4 14th July 2014 11:24 AM
Successfully booting NetBSD Live on a Sony Vaio PCG-GRZ530 with limited results Mr-Biscuit NetBSD General 6 26th May 2009 11:47 AM


All times are GMT. The time now is 02:21 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick