Go Back   nV News Forums > Linux Support Forums > NVIDIA FreeBSD

Newegg Daily Deals

Reply
 
Thread Tools
Old 01-04-12, 02:24 PM   #1
cervo
Registered User
 
Join Date: Jun 2006
Posts: 34
Unhappy Linux is too slow??(FreeBSD vs Linux)

Hello,

I have developed 3D CG software on Ubuntu and FreeBSD.
I use OpenGL and GLSL on recent nvidia driver.

I have a trouble.
Linux is too slow in comparison with FreeBSD (or Windows).

Probably I think that it is independent of linux distribution and driver version.

I have examined Ubuntu 11.04, 11.10, Scientific linux 6.1, Cent OS 6.1 and Fedora 15 on some version of nvidia driver.


Does anyone know the reason?
I need the increase of the performance of our system on Linux.

I make benchmark software.

http://www2.nagano.ac.jp/n-tanaka/te...b-oglbench.tgz

<How to use>
% tar -zxvf ntlab-oglbench.tgz ; make
% ./ogl-bench 'division_level'

i.e.) division_level is 100
% ./ogl-bench 100


<results>
*** GeForce GTX580 ***
division_level 100
FreeBSD is 1724 fps
Linux is 690 fps

division_level 1000
FreeBSD is 317 fps
Linux is 20 fps

*** Quadro 2000 ***
division_level 100
FreeBSD is 1721 fps
Linux is 920 fps

division_level 1000
FreeBSD is 317 fps
Linux is 41 fps

<Our System>
OS:
FreeBSD 8.2-STABLE 64bit
Ubuntu Linux 11.10 64bit
Driver:
FreeBSD: nvidia driver 280.13
Linux: nvidia driver 290.10
CPU:
Intel Core i7 950 3.06GHz
MEM:
24GB
GPU:
NVIDIA Quadro 2000
NVIDIA GeForce GTX 580

Other setting information(Linux).
1. disable nouveau
2. disable Sync to VBlank
3. disable 3D desktop(compiz) setting
cervo is offline   Reply With Quote
Old 01-04-12, 05:16 PM   #2
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default Re: Linux is too slow??(FreeBSD vs Linux)

Have you tried an apples-to-apples comparison of the same driver versions on both Linux and FreeBSD? Is there anything else running and eating CPU cycles on the Linux system?
AaronP is offline   Reply With Quote
Old 01-05-12, 08:43 AM   #3
cervo
Registered User
 
Join Date: Jun 2006
Posts: 34
Default Re: Linux is too slow??(FreeBSD vs Linux)

Thank you for your reply, AaronP.

I updated nvidia driver of FreeBSD to 290.10.
It is the same version driver of the our Linux system.

I examined OpenGL performance with the benchmark program again.
However, there is no change in the results.

I think that it is independent of driver version.
Because we have noticed the problem since Sept. 2010.
We have used some version of nvidia driver from version 256.53 on Linux and FreeBSD.

Secondly,
there is no strange CPU usage process in the Linux system.

In order to examine CPU usage of the Linux and FreeBSD system, Top COMMAND log is shown as follows,

*** Linux top Command ***
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2120 cvteam 20 0 80792 30m 22m R 99 0.1 0:33.88 ogl-bench
1427 root 20 0 157m 34m 17m S 1 0.1 0:24.64 Xorg
1874 cvteam 20 0 366m 13m 9960 S 0 0.1 0:01.04 nm-applet
1958 cvteam 20 0 402m 16m 11m S 0 0.1 0:01.07 lxterminal
1 root 20 0 24156 2284 1344 S 0 0.0 0:01.24 init
2 root 20 0 0 0 0 S 0 0.0 0:00.00 kthreadd
3 root 20 0 0 0 0 S 0 0.0 0:00.19 ksoftirqd/0
4 root 20 0 0 0 0 S 0 0.0 0:00.00 kworker/0:0
5 root 20 0 0 0 0 S 0 0.0 0:00.25 kworker/u:0
6 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/0
7 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/1
8 root 20 0 0 0 0 S 0 0.0 0:00.04 kworker/1:0
9 root 20 0 0 0 0 S 0 0.0 0:00.00 ksoftirqd/1
10 root 20 0 0 0 0 S 0 0.0 0:00.01 kworker/0:1
11 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/2
12 root 20 0 0 0 0 S 0 0.0 0:00.00 kworker/2:0
13 root 20 0 0 0 0 S 0 0.0 0:00.00 ksoftirqd/2


*** FreeBSD top Command ***
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
2164 cvteam 1 119 0 82544K 33752K CPU2 2 0:36 100.00% ogl-bench
2018 cvteam 1 44 0 3182M 34052K select 0 0:03 0.00% Xorg
2100 cvteam 1 44 0 112M 34420K select 3 0:01 0.00% kdeinit
2136 cvteam 1 44 0 111M 33648K select 0 0:00 0.00% korgac
2146 cvteam 1 44 0 107M 34228K select 4 0:00 0.00% kdeinit
2098 cvteam 1 44 0 98M 30540K select 1 0:00 0.00% kdeinit
2088 cvteam 1 44 0 121M 32980K select 6 0:00 0.00% kdeinit
2096 cvteam 1 44 0 99060K 29088K select 4 0:00 0.00% kdeinit
2107 cvteam 1 60 r16F 57468K 11664K select 0 0:00 0.00% artsd
1929 haldaemon 2 54 0 29868K 5740K piperd 2 0:00 0.00% hald
2114 cvteam 1 44 0 91320K 24080K select 1 0:00 0.00% dbsd-traymo
unter
2112 cvteam 1 44 0 100M 27892K select 1 0:00 0.00% dbsd-nettra
y
2067 cvteam 1 44 0 13364K 3432K select 0 0:00 0.00% gam_server
cervo is offline   Reply With Quote
Old 01-11-12, 03:18 PM   #4
cervo
Registered User
 
Join Date: Jun 2006
Posts: 34
Default Re: Linux is too slow??(FreeBSD vs Linux)

Hello,

I have examined OpenGL performace of Windows and Linux with the benchmark software on another PC.

In other words it is Linux vs. Windows this time.

After all Linux is too slow again.

*** Results ***

--- Division level 100 ---
Linux is 275 fps
Windows is 1333 fps

--- Division level 500 ---
Linux is 63 fps
Windows is 359 fps

--- Division level 1000 ---
Linux is N/A(Because Linux is too slow)
Windows is 359 fps


<PC>
 DOSPARA Prime Note PC Galleria MR6
 CPU: Intel Core i7 2720QM
 GPU: nvidia GeForce 540M (2GB)
 MEM: 8GB

<OS>
 Linux :Ubuntu Linux 11.10 64bit
 Windows: Windows 7 Professional 64bit SP1

<driver version>
 Linux: nvidia driver 290.10
 Windows: nvidia driver 285.62(recent version for Note PC)
cervo is offline   Reply With Quote
Reply


Thread Tools

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


All times are GMT -5. The time now is 07:13 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.