Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[NEEDS INFO] Wierd Linux SMP performance problem

#1
OK, this isn't a problem with Xonotic itself but it greatly impacts on Xonotic performance. Not sure if anyone else has seen this before.

First the system:
Arch Linux (rolling release but a few weeks out of date)
C2D E8200
2Gb RAM
Geforce 9600GT with NVIDIA driver

Previously this system has got 315fps on the OMG setting of The Big Benchmark. OMG is best to test CPU dependency so I thought of using it to look at the effects of SMP. This can be done by adding maxcpus=n to the kernel boot line.

First running with maxcpus=1, this gave 297fps so a slight reduction in performance. cat /proc/cpuinfo shows only one core as expected.

The problem then came when booting normally again. Now I don't get 315fps, I get 230fps even though cpuinfo shows 2 cores. I've lost 25% performance somehow!

Trying again:
maxcpus=2 : 230fps
maxcpus=1 : 297fps
no explicit option: 231fps
maxcpus=8 (worth trying) : 230fps
maxcpus=0 (same as noSMP) : 294fps
acpi=off : 300fps

So somehow by fiddling with maxcpus= it is possible to break SMP. I've been through a few system updates since trying this and no change. It won't be a Xonotic issue and there definitely are 2 cores running but something is clearly wrong when the system runs faster on 1 core than 2. I had thought it might be an NVIDIA driver issue but again, that's been updated with no change.

It could be I've come across some really obscure bug but I have absolutely no idea how to prove it. I would however ask if anyone else has any idea and urge caution if anyone else wants to try using maxcpus=. I might end up having to reinstall.
I'm at least a reasonably tolerable person to be around - Narcopic
Reply

#2
Have you seeked support on the operating system side?

Why would you say something changed in the OS when you tried that setting, and not in the hardware? One does not make more sense than the other to me, so I would consider both. But I'm no expert, so...
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [NEED HELP] Input layout problem in Xonotic-SDL FinBiteLeaf 4 156 03-19-2024, 05:24 AM
Last Post: FinBiteLeaf
  [NEED HELP] Windows 10 -basedir problem BlazedRasta 4 4,046 03-21-2023, 07:34 PM
Last Post: AlexVelasquez
  [BUG] A font-rendering performance problem (of upstream DarkPlaces) NaitLee 11 2,828 08-20-2022, 01:23 AM
Last Post: NaitLee
Question [NEED HELP] Problem with charset of names in XonStat API NAPALM 0 893 11-11-2021, 08:38 AM
Last Post: NAPALM
  [NEEDS INFO] Xonotic settings file on linux ArchBerrie 2 4,988 07-15-2021, 03:18 AM
Last Post: ArchBerrie
  [NEED HELP] cant start the game/ session lock problem skyghost47 1 2,798 10-24-2020, 11:50 PM
Last Post: BuddyFriendGuy
  USB Mouse input on Linux dagelf 1 2,269 10-07-2020, 06:14 PM
Last Post: BuddyFriendGuy
  [NEEDS INFO] Corsair Strafe input lag in Linux Mint? FAF 1 1,621 08-18-2019, 03:14 AM
Last Post: FAF
  [NEED HELP] Performance on AMD? Aguaumreal 1 2,117 07-13-2019, 08:55 AM
Last Post: Aguaumreal
  [NEED HELP] Missclick on Linux Mint Mate 19 RanDoom 4 3,045 04-23-2019, 01:41 PM
Last Post: RanDoom

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-