From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1PVrBL-0000Ou-FR for garchives@archives.gentoo.org; Thu, 23 Dec 2010 19:50:35 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C06F0E066B; Thu, 23 Dec 2010 19:48:46 +0000 (UTC) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 74688E066B for ; Thu, 23 Dec 2010 19:48:46 +0000 (UTC) Received: by wyf22 with SMTP id 22so7748981wyf.40 for ; Thu, 23 Dec 2010 11:48:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=2/buLGqFhEBqyTJihaAlk8M3pGDwjWHAsnAT3bPhy6A=; b=gYnyr6YKq60TBwwyPqmVG3F0qjCvQITp4w/TP4l38EVP19jSSN2nczel6dJhsRPqyy dhJMZPfnoqZ3ld/J3XBS5TFem3Kom1QTGIujFL4TUG0eROeCmIT0ef+MJ6HJdhUOOn/2 VyQbIpTNwgu7xBuRqx9L9s0mkib5aDrAaHIK8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=u5XqKmr8H8zvncJW+RQM3qW5NgKCrEvhRTyctpH6HHR90uxnKSWwSUsIth5sOgP6l9 H+0pY1txvFMoQToZkUvYV8gefjWMHRntpCfI/QzTFFMHwGE7+HSYMlgraQRYwF6ZcyF5 0J6RgGCBjnTQrV75rfsW9u9fb3a5fuTLQXDWY= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.216.188.141 with SMTP id a13mr4597811wen.59.1293133725565; Thu, 23 Dec 2010 11:48:45 -0800 (PST) Received: by 10.216.16.21 with HTTP; Thu, 23 Dec 2010 11:48:45 -0800 (PST) Date: Thu, 23 Dec 2010 11:48:45 -0800 Message-ID: Subject: [gentoo-user] [OT] - 2D acceleration measurements in Gentoo and guest VM? From: Mark Knecht To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 0c0f2670-27a6-46d4-a824-7dfa92723ff3 X-Archives-Hash: 52fc8d6693e4693dae18a23a45775458 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. mark@c2stable ~ $ glxinfo | grep rendering direct rendering: Yes mark@c2stable ~ $ Thanks, Mark mark@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 mark@c2stable ~ $