Hi,
   Does anyone know of a benchmarking tool that can be run in both
Linux and then in a Windows VM that measures 2D acceleration? I'm just
curious about what sort of differences I'll see on this machine for
native Linux vs a VM running on the same machine.

   I'm currently using a Radeon 5770 (I think...) with the Open Source
drivers. glxgears gives me about 1100 FPS the way it's set up right
now. If I resize the terminal that glxgears is running in (by grabbing
the lower right corner and just constantly moving it around for a
minute) I see the FPS drop to maybe 450. Watching in top it looks like
X uses no CPU until I start resizing the terminal and then 1 CPU out
of 12 jumps to 100% while I do that.

   My Windows VMs on this machine use low CPU (<5% running stock
trading programs) until I start changing window sizes inside the VM at
which time they jump to 80% or 90% so it's similar I think. However I
don't know the FPS in Windows.

   I'd like to understand if that's something I could improve by
changing my X setup or by using a different video card.

   The above numbers came from VMware Player. I've got VirtualBox also
but haven't tested it yet under load.

   xorg.conf below if anyone sees anything that could be improved.

m...@c2stable ~ $ glxinfo | grep rendering
direct rendering: Yes
m...@c2stable ~ $

Thanks,
Mark


m...@c2stable ~ $ cat /etc/X11/xorg.conf
Section "Files"
        ModulePath   "/usr/lib64/xorg/modules"
        FontPath     "/usr/share/fonts/misc/"
        FontPath     "/usr/share/fonts/TTF/"
        FontPath     "/usr/share/fonts/OTF"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/100dpi/"
        FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
        Load  "extmod"
        Load  "glx"
        Load  "dri"
EndSection

Section "DRI"
        Mode 0666
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Extensions"
        Option "Composite" "Enable"
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "radeon"
        #Option     "monitor-VGA1" "Samsung2333"
EndSection

Section "Monitor"
        Identifier   "Samsung2333"
        VendorName   "Samsung"
        ModelName    "2333"
        Option       "PreferredMode" "1920x1080"
        HorizSync    30-75
        VertRefresh  56-61
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Samsung2333"
        DefaultDepth 24
        SubSection "Display"
                Viewport   0 0
                Depth     8
                Modes         "1920x1080"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
                Modes         "1920x1080"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes         "1920x1080"
        EndSubSection
EndSection


Section "ServerLayout"
        Identifier     "cruncher"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

m...@c2stable ~ $

Reply via email to