public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
[parent not found: <20030522192332.10944.pinskia@physics.uc.edu>]
* [Bug other/10944] alloc_page in ggc-page.c is slow
@ 2003-05-23 22:54 pinskia@physics.uc.edu
  0 siblings, 0 replies; 14+ messages in thread
From: pinskia@physics.uc.edu @ 2003-05-23 22:54 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10944



------- Additional Comments From pinskia@physics.uc.edu  2003-05-23 22:40 -------
The backtraces are spread all over so that it is not just one place.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 14+ messages in thread
* [Bug other/10944] alloc_page in ggc-page.c is slow
@ 2003-05-23 22:54 pinskia@physics.uc.edu
  0 siblings, 0 replies; 14+ messages in thread
From: pinskia@physics.uc.edu @ 2003-05-23 22:54 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10944



------- Additional Comments From pinskia@physics.uc.edu  2003-05-23 22:29 -------
Subject: Re: [Bug other/10944] alloc_page in ggc-page.c is slow

Yes it is spending 90% of the time in alloc_page in that list traversal.
I used Shikari (part of the CHUD tools) on Mac OS X for profiling the 
complier
10000 samples ever 1ms (10s in total).

I can find out the backtrace if you want it.

Thanks,
Andrew Pinski


On Friday, May 23, 2003, at 17:52 US/Eastern, zack@gcc.gnu.org wrote:
>
> The code in alloc_page is remarkably stupid, but the linked list 
> traversal
> should only occur when trying to allocate an object larger than a 
> single
> page, which is believed to happen almost never.  Can you please find 
> out
> whether it's really spending time in that list, or if some other area 
> is
> the cause of the problem?
>
> I'll take responsibility for this bug; I've been meaning to get us 
> per-order
> freelists for a long time.





------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 14+ messages in thread
* [Bug other/10944] alloc_page in ggc-page.c is slow
@ 2003-05-23 22:51 zack@gcc.gnu.org
  0 siblings, 0 replies; 14+ messages in thread
From: zack@gcc.gnu.org @ 2003-05-23 22:51 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10944


zack@gcc.gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned@gcc.gnu.org      |zack@gcc.gnu.org
             Status|ASSIGNED                    |NEW





------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 14+ messages in thread
* [Bug other/10944] alloc_page in ggc-page.c is slow
@ 2003-05-23 22:08 zack@gcc.gnu.org
  0 siblings, 0 replies; 14+ messages in thread
From: zack@gcc.gnu.org @ 2003-05-23 22:08 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10944


zack@gcc.gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2003-05-23 20:19:39         |2003-05-23 21:52:36
               date|                            |


------- Additional Comments From zack@gcc.gnu.org  2003-05-23 21:52 -------
The code in alloc_page is remarkably stupid, but the linked list traversal
should only occur when trying to allocate an object larger than a single
page, which is believed to happen almost never.  Can you please find out
whether it's really spending time in that list, or if some other area is
the cause of the problem?

I'll take responsibility for this bug; I've been meaning to get us per-order
freelists for a long time.




------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 14+ messages in thread
* [Bug other/10944] alloc_page in ggc-page.c is slow
@ 2003-05-23 20:29 pinskia@physics.uc.edu
  0 siblings, 0 replies; 14+ messages in thread
From: pinskia@physics.uc.edu @ 2003-05-23 20:29 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10944


pinskia@physics.uc.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-05-23 20:19:39
               date|                            |





------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 14+ messages in thread
* [Bug other/10944] alloc_page in ggc-page.c is slow
@ 2003-05-23 18:14 pinskia@physics.uc.edu
  0 siblings, 0 replies; 14+ messages in thread
From: pinskia@physics.uc.edu @ 2003-05-23 18:14 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10944


pinskia@physics.uc.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |8361
              nThis|                            |





------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

end of thread, other threads:[~2004-02-06  1:44 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20030522192332.10944.pinskia@gcc.gnu.org>
2003-10-12 20:34 ` [Bug other/10944] alloc_page in ggc-page.c is slow steven at gcc dot gnu dot org
2003-10-13 14:37 ` steven at gcc dot gnu dot org
2003-11-30  8:38 ` pinskia at gcc dot gnu dot org
2003-12-20 16:31 ` steven at gcc dot gnu dot org
2003-12-23  2:10 ` pinskia at gcc dot gnu dot org
2004-01-17 22:59 ` dhazeghi at yahoo dot com
2004-02-06  1:44 ` pinskia at gcc dot gnu dot org
     [not found] <20030522192332.10944.pinskia@physics.uc.edu>
2003-06-01 18:58 ` zack@gcc.gnu.org
2003-05-23 22:54 pinskia@physics.uc.edu
  -- strict thread matches above, loose matches on Subject: below --
2003-05-23 22:54 pinskia@physics.uc.edu
2003-05-23 22:51 zack@gcc.gnu.org
2003-05-23 22:08 zack@gcc.gnu.org
2003-05-23 20:29 pinskia@physics.uc.edu
2003-05-23 18:14 pinskia@physics.uc.edu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).