All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 31635] New: Bad performance of 64-bit compilation compared to 32-bit.
Date: Mon, 15 Nov 2010 11:03:25 -0800 (PST)	[thread overview]
Message-ID: <bug-31635-502@http.bugs.freedesktop.org/> (raw)

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.

             reply	other threads:[~2010-11-15 19:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-15 19:03 bugzilla-daemon [this message]
2010-11-15 19:15 ` [Bug 31635] [r300g]Bad performance of 64-bit compilation compared to 32-bit 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-31635-502@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.