Author Topic: 64-bit Linux Question  (Read 3694 times)

Overdose

  • Posts: 396
  • Turrets: +52/-47
64-bit Linux Question
« on: July 03, 2007, 12:08:25 am »
Does 64-bit Linux (specifically Ubuntu) have any security advantages over 32-bit? Please mention even the slightest advantage (or disadvantage) that you know of. Thanks in advance.
Chocolate Milk.

TinMan

  • Posts: 1019
  • Turrets: +49/-70
    • http://neonpulse.net
64-bit Linux Question
« Reply #1 on: July 03, 2007, 12:28:44 am »
Quote from: "Ingar"
Some interesting thoughts were posted so I did some more testing on the 32-bit vs 64-bit issue:
64bit: 3067 frames, 79.0 seconds: 38.8 fps
32bit: 3067 frames, 72.0 seconds: 42.6 fps

There is a notable difference but nothing to really complain about
(38fps is not bad anyway  :wink: )

Than I suddenly remembered these funny settings:
Code: [Select]
vm_cgame 2
vm_game 2
vm_ui 2

These force the game to use the .qvm's and ignore any the .so version (that would be .dll for windows users)

When we set these settings to 0 (to use the dll-version) the picture changes quite a bit:

64bit so
3067 frames, 65.2 seconds: 47.0 fps
32bit so
3067 frames, 69.0 seconds: 44.4 fps

The native version is the clear winner here.



http://tremulous.net/phpBB2/viewtopic.php?t=3442
Code: [Select]
Linux: ~/.tremulous/base/
Mac: ~/Library/Application\ Support/Tremulous/base/
Windows: C:\Documents and Settings\username\Local Settings\Application Data\Tremulous\base\
NeonPulse
http://neonpulse.net/media/games/tremulous/base/autoexec.cfg

Overdose

  • Posts: 396
  • Turrets: +52/-47
64-bit Linux Question
« Reply #2 on: July 03, 2007, 12:56:33 am »
That didn't answer my primary question, but it did help with another conundrum I was having.
Chocolate Milk.

TinMan

  • Posts: 1019
  • Turrets: +49/-70
    • http://neonpulse.net
64-bit Linux Question
« Reply #3 on: July 03, 2007, 04:51:39 am »
I didn't see the word "security", lol.
Nope.
Code: [Select]
Linux: ~/.tremulous/base/
Mac: ~/Library/Application\ Support/Tremulous/base/
Windows: C:\Documents and Settings\username\Local Settings\Application Data\Tremulous\base\
NeonPulse
http://neonpulse.net/media/games/tremulous/base/autoexec.cfg

Taiyo.uk

  • Posts: 2309
  • Turrets: +222/-191
    • Haos Redro
64-bit Linux Question
« Reply #4 on: July 03, 2007, 07:46:20 am »
Well, most (all?) 32-bit x86 CPUs don't have any method of marking memory areas as holding non-executable data. There is a flag to set memory areas as data only in most 64-bit CPUs. AMD call this the no-execute or NX bit, and Intel call it the execute-disable or XD bit, but they have the same function. The idea is that it makes executing (possibly malicious) code that has been written to data areas more difficault. Whether this actually makes your box more secure overall is another matter though. Since some time in 2004, linux running in 32-bit and 64-bit mode can use the NX bit if it is running on a 64-bit CPU that supports it.

See here: http://en.wikipedia.org/wiki/XD_bit

Overdose

  • Posts: 396
  • Turrets: +52/-47
64-bit Linux Question
« Reply #5 on: July 04, 2007, 12:30:32 am »
Thats pretty neat, but other than that, there aren't any big security advantages that you know of?
Chocolate Milk.