Re: Git and GCC

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Miller
Date: Friday, December 7, 2007 - 5:53 am

From: "Jon Smirl" <jonsmirl@gmail.com>
Date: Fri, 7 Dec 2007 02:10:49 -0500


It's an 8 core system with 64 cpu threads.


Didn't work very well, even with the one-liner patch for
chunk_size it died.  I think I need to build 64-bit
binaries.

davem@huronp11:~/src/GCC/git/test$ time git repack -a -d -f --window=250 --depth=250
Counting objects: 1190671, done.
fatal: Out of memory? mmap failed: Cannot allocate memory

real    58m36.447s
user    289m8.270s
sys     4m40.680s
davem@huronp11:~/src/GCC/git/test$ 

While it did run the load was anywhere between 5 and 9, although it
did create 64 threads, and the size of the process was about 3.2GB
This may be in part why it wasn't able to use all 64 thread
effectively.  Like I said it seemed to have 9 active at best, at any
one time, most of the time only 4 or 5 were busy doing anything.

Also I could end up being performance limited by SHA, it's not very
well tuned on Sparc.  It's been on my TODO list to code up the crypto
unit support for Niagara-2 in the kernel, then work with Herbert Xu on
the userland interfaces to take advantage of that in things like
libssl.  Even a better C/asm version would probably improve GIT
performance a bit.

Is SHA a significant portion of the compute during these repacks?
I should run oprofile...
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Git and GCC, David Miller, (Wed Dec 5, 7:52 pm)
Re: Git and GCC, Daniel Berlin, (Wed Dec 5, 8:47 pm)
Re: Git and GCC, David Miller, (Wed Dec 5, 9:20 pm)
Re: Git and GCC, Harvey Harrison, (Wed Dec 5, 9:25 pm)
Re: Git and GCC, Harvey Harrison, (Wed Dec 5, 9:28 pm)
Re: Git and GCC, Daniel Berlin, (Wed Dec 5, 9:32 pm)
Re: Git and GCC, David Miller, (Wed Dec 5, 9:48 pm)
Re: Git and GCC, Linus Torvalds, (Wed Dec 5, 9:54 pm)
Re: Git and GCC, Harvey Harrison, (Wed Dec 5, 10:04 pm)
Re: Git and GCC, Daniel Berlin, (Wed Dec 5, 10:11 pm)
Re: Git and GCC, Harvey Harrison, (Wed Dec 5, 10:15 pm)
Re: Git and GCC, Daniel Berlin, (Wed Dec 5, 10:17 pm)
Re: Git and GCC, Linus Torvalds, (Wed Dec 5, 11:09 pm)
Re: Git and GCC, Jon Smirl, (Wed Dec 5, 11:47 pm)
Re: Git and GCC, Jeff King, (Thu Dec 6, 12:15 am)
Re: Git and GCC, Harvey Harrison, (Thu Dec 6, 12:49 am)
Re: Git and GCC, David Brown, (Thu Dec 6, 1:11 am)
Re: Git and GCC, Johannes Schindelin, (Thu Dec 6, 4:57 am)
[PATCH] gc --aggressive: make it really aggressive, Johannes Schindelin, (Thu Dec 6, 5:03 am)
Re: Git and GCC, Ismail , (Thu Dec 6, 5:04 am)
Re: [PATCH] gc --aggressive: make it really aggressive, Theodore Tso, (Thu Dec 6, 6:42 am)
Re: Git and GCC, Nicolas Pitre, (Thu Dec 6, 7:01 am)
Re: [PATCH] gc --aggressive: make it really aggressive, Nicolas Pitre, (Thu Dec 6, 7:15 am)
Re: Git and GCC, Nicolas Pitre, (Thu Dec 6, 7:18 am)
Re: [PATCH] gc --aggressive: make it really aggressive, Pierre Habouzit, (Thu Dec 6, 7:22 am)
Re: [PATCH] gc --aggressive: make it really aggressive, Harvey Harrison, (Thu Dec 6, 8:30 am)
Re: [PATCH] gc --aggressive: make it really aggressive, Johannes Schindelin, (Thu Dec 6, 8:55 am)
Re: [PATCH] gc --aggressive: make it really aggressive, Johannes Schindelin, (Thu Dec 6, 8:56 am)
Re: [PATCH] gc --aggressive: make it really aggressive, Linus Torvalds, (Thu Dec 6, 9:19 am)
Re: [PATCH] gc --aggressive: make it really aggressive, David Kastrup, (Thu Dec 6, 10:05 am)
Re: Git and GCC, Jeff King, (Thu Dec 6, 10:39 am)
Re: Git and GCC, Nicolas Pitre, (Thu Dec 6, 11:02 am)
Re: Git and GCC, Daniel Berlin, (Thu Dec 6, 11:04 am)
Re: Git and GCC, NightStrike, (Thu Dec 6, 11:24 am)
Re: Git and GCC, Linus Torvalds, (Thu Dec 6, 11:29 am)
Re: Git and GCC, Linus Torvalds, (Thu Dec 6, 11:35 am)
Re: Git and GCC, Linus Torvalds, (Thu Dec 6, 11:45 am)
Re: Git and GCC, Jon Smirl, (Thu Dec 6, 11:55 am)
Re: Git and GCC, Nicolas Pitre, (Thu Dec 6, 12:08 pm)
Re: Git and GCC, Jon Loeliger, (Thu Dec 6, 12:12 pm)
Re: Git and GCC, Linus Torvalds, (Thu Dec 6, 12:39 pm)
Re: Git and GCC, Junio C Hamano, (Thu Dec 6, 1:04 pm)
Re: Git and GCC, Junio C Hamano, (Thu Dec 6, 2:02 pm)
Re: Git and GCC, Jon Smirl, (Thu Dec 6, 2:39 pm)
Re: Git and GCC, Nicolas Pitre, (Thu Dec 6, 3:08 pm)
Re: Git and GCC, Jon Smirl, (Thu Dec 6, 3:11 pm)
Re: Git and GCC, Jon Smirl, (Thu Dec 6, 3:22 pm)
Re: Git and GCC, David Kastrup, (Thu Dec 6, 3:26 pm)
Re: Git and GCC, Nicolas Pitre, (Thu Dec 6, 3:30 pm)
[OT] Re: Git and GCC, Randy Dunlap, (Thu Dec 6, 3:38 pm)
Re: Git and GCC, Jon Smirl, (Thu Dec 6, 3:44 pm)
Re: Git and GCC, Jakub Narebski, (Thu Dec 6, 5:29 pm)
Re: Git and GCC, Harvey Harrison, (Thu Dec 6, 7:42 pm)
Re: Git and GCC, Linus Torvalds, (Thu Dec 6, 8:01 pm)
Re: Git and GCC, David Miller, (Thu Dec 6, 8:31 pm)
Re: Git and GCC, Jon Smirl, (Thu Dec 6, 9:06 pm)
Re: Git and GCC, Nicolas Pitre, (Thu Dec 6, 9:21 pm)
Re: Git and GCC, Linus Torvalds, (Thu Dec 6, 10:21 pm)
Re: Git and GCC, NightStrike, (Thu Dec 6, 10:36 pm)
Re: Git and GCC, Jeff King, (Thu Dec 6, 11:38 pm)
Re: Git and GCC, Jeff King, (Thu Dec 6, 11:50 pm)
Re: Git and GCC, Jon Smirl, (Fri Dec 7, 12:08 am)
Re: Git and GCC, Jon Smirl, (Fri Dec 7, 12:10 am)
Re: Git and GCC, Jeff King, (Fri Dec 7, 12:27 am)
Re: Git and GCC, Jeff King, (Fri Dec 7, 12:31 am)
Re: Git and GCC, David Miller, (Fri Dec 7, 5:53 am)
Re: Git and GCC, Linus Torvalds, (Fri Dec 7, 10:23 am)
Re: Git and GCC, Nicolas Pitre, (Fri Dec 7, 12:36 pm)
Re: Git and GCC, Giovanni Bajo, (Fri Dec 7, 1:26 pm)
Re: Git and GCC, Jakub Narebski, (Fri Dec 7, 3:14 pm)
Re: Git and GCC, Luke Lu, (Fri Dec 7, 4:04 pm)
Re: Git and GCC, Giovanni Bajo, (Fri Dec 7, 4:14 pm)
Re: Git and GCC, Daniel Berlin, (Fri Dec 7, 4:33 pm)
Re: Git and GCC, Harvey Harrison, (Fri Dec 7, 5:47 pm)
Re: Git and GCC, David Miller, (Fri Dec 7, 6:55 pm)
Re: Git and GCC, Johannes Schindelin, (Sat Dec 8, 5:00 am)
Re: Git and GCC, Gabriel Paubert, (Mon Dec 10, 2:54 am)
Re: Git and GCC, David Miller, (Mon Dec 10, 2:57 am)
Re: Git and GCC, Nicolas Pitre, (Mon Dec 10, 8:35 am)
Re: [PATCH] gc --aggressive: make it really aggressive, Johannes Schindelin, (Wed Mar 18, 9:01 am)
Re: [PATCH] gc --aggressive: make it really aggressive, Teemu Likonen, (Wed Mar 18, 9:27 am)
Re: [PATCH] gc --aggressive: make it really aggressive, Nicolas Pitre, (Wed Mar 18, 11:02 am)