All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 31635] New: Bad performance of 64-bit compilation compared to 32-bit.
@ 2010-11-15 19:03 bugzilla-daemon
  2010-11-15 19:15 ` [Bug 31635] [r300g]Bad " bugzilla-daemon
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bugzilla-daemon @ 2010-11-15 19:03 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=31635

           Summary: Bad performance of 64-bit compilation compared to
                    32-bit.
           Product: Mesa
           Version: git
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/r300
        AssignedTo: dri-devel@lists.freedesktop.org
        ReportedBy: drill87@gmail.com


I've got archlinux 64-bit system with chrooted archlinux 32-bit in it. 
Video card: ATI X1270 (RS690)
Kernel version: 2.6.35
Xorg server version: 1.9.0

I've compiled r300g both for 32-bit and 64-bit systems with parameters:
  --prefix=/usr --enable-glx-tls --disable-egl --enable-gallium-radeon
--with-dri-driverdir=/usr/lib/xorg/modules/dri --with-dri-drivers="radeon,r300"
--with-state-trackers="glx,dri"

After tests I found, that in 32-bit r300g gives 860 fps in glxgears, whereas
64-bit version only 250. I also compared framerate in 3D action game Tremulous,
which has precompiled binaries for both 32-bit and 64-bit linux - the result
was similar: I've got 38 fps in 32-bit version and only 18 fps in 64-bit in
same scene.

Unfortunately, I'm not sure if this is a real bug or just a bad optimization of
64-bit version - I couldn't find any specific information about that...

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 31635] [r300g]Bad performance of 64-bit compilation compared to 32-bit.
  2010-11-15 19:03 [Bug 31635] New: Bad performance of 64-bit compilation compared to 32-bit bugzilla-daemon
@ 2010-11-15 19:15 ` bugzilla-daemon
  2010-11-15 20:51 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2010-11-15 19:15 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=31635

Drill <drill87@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Bad performance of 64-bit   |[r300g]Bad performance of
                   |compilation compared to     |64-bit compilation compared
                   |32-bit.                     |to 32-bit.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 31635] [r300g]Bad performance of 64-bit compilation compared to 32-bit.
  2010-11-15 19:03 [Bug 31635] New: Bad performance of 64-bit compilation compared to 32-bit bugzilla-daemon
  2010-11-15 19:15 ` [Bug 31635] [r300g]Bad " bugzilla-daemon
@ 2010-11-15 20:51 ` bugzilla-daemon
  2010-11-15 21:16 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2010-11-15 20:51 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=31635

--- Comment #1 from Roland Scheidegger <sroland@vmware.com> 2010-11-15 12:51:46 PST ---
There are a couple of asm optimizations which are only available on 32bit and
not not 64bit (or some of them only on 64bit with 3dnow). Your gpu doesn't
support hw TCL so this could maybe make a difference. But gallium drivers
shouldn't really be affected by this. Some profiling data might help possibly.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 31635] [r300g]Bad performance of 64-bit compilation compared to 32-bit.
  2010-11-15 19:03 [Bug 31635] New: Bad performance of 64-bit compilation compared to 32-bit bugzilla-daemon
  2010-11-15 19:15 ` [Bug 31635] [r300g]Bad " bugzilla-daemon
  2010-11-15 20:51 ` bugzilla-daemon
@ 2010-11-15 21:16 ` bugzilla-daemon
  2010-11-16  7:46 ` bugzilla-daemon
  2010-11-16  7:47 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2010-11-15 21:16 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=31635

--- Comment #2 from Marek Olšák <maraeo@gmail.com> 2010-11-15 13:16:47 PST ---
I thought we had SSE2 vertex shaders for 64-bit too, but apparently it's
disabled. I won't investigate further because there is also LLVM. Can you
recompile mesa with --enable-gallium-llvm? It should make everything a lot
faster for you.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 31635] [r300g]Bad performance of 64-bit compilation compared to 32-bit.
  2010-11-15 19:03 [Bug 31635] New: Bad performance of 64-bit compilation compared to 32-bit bugzilla-daemon
                   ` (2 preceding siblings ...)
  2010-11-15 21:16 ` bugzilla-daemon
@ 2010-11-16  7:46 ` bugzilla-daemon
  2010-11-16  7:47 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2010-11-16  7:46 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=31635

--- Comment #3 from Drill <drill87@gmail.com> 2010-11-15 23:46:59 PST ---
Thank you, enabling llvm helped very much. Sorry for bothering you for (as it
seems) nothing.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 31635] [r300g]Bad performance of 64-bit compilation compared to 32-bit.
  2010-11-15 19:03 [Bug 31635] New: Bad performance of 64-bit compilation compared to 32-bit bugzilla-daemon
                   ` (3 preceding siblings ...)
  2010-11-16  7:46 ` bugzilla-daemon
@ 2010-11-16  7:47 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2010-11-16  7:47 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=31635

Drill <drill87@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |NOTABUG

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-11-16  7:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-15 19:03 [Bug 31635] New: Bad performance of 64-bit compilation compared to 32-bit bugzilla-daemon
2010-11-15 19:15 ` [Bug 31635] [r300g]Bad " bugzilla-daemon
2010-11-15 20:51 ` bugzilla-daemon
2010-11-15 21:16 ` bugzilla-daemon
2010-11-16  7:46 ` bugzilla-daemon
2010-11-16  7:47 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.