Re: pack operation is thrashing my server

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Junio C Hamano
Date: Saturday, September 6, 2008 - 6:03 pm

Linus Torvalds <torvalds@linux-foundation.org> writes:


This is reproducible  "rev-list --objects --all" in my copy of the kernel
repo takes around 47-48 seconds user time, and with the (idiotic) patch it
is cut down to 41-42 seconds.

(with patch)
41.41user 0.51system 0:41.93elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+134411minor)pagefaults 0swaps

(without patch)
47.21user 0.64system 0:47.85elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+134935minor)pagefaults 0swaps

One funny thing about your patch is that it also reduces the number of
minor faults; I would have expected that the additional memory wastage
(even though most of the allocated object buffer memory would be freed
immediately as soon as the caller is done with it) would result in larger
number of faults, not smaller, which is puzzling.
--
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:
pack operation is thrashing my server, Ken Pratt, (Sun Aug 10, 12:47 pm)
Re: pack operation is thrashing my server, Martin Langhoff, (Sun Aug 10, 4:06 pm)
Re: pack operation is thrashing my server, Ken Pratt, (Sun Aug 10, 4:12 pm)
Re: pack operation is thrashing my server, Martin Langhoff, (Sun Aug 10, 4:30 pm)
Re: pack operation is thrashing my server, Ken Pratt, (Sun Aug 10, 4:34 pm)
Re: pack operation is thrashing my server, Shawn O. Pearce, (Sun Aug 10, 8:04 pm)
Re: pack operation is thrashing my server, Ken Pratt, (Mon Aug 11, 12:43 am)
Re: pack operation is thrashing my server, Shawn O. Pearce, (Mon Aug 11, 8:01 am)
Re: pack operation is thrashing my server, Avery Pennarun, (Mon Aug 11, 8:40 am)
Re: pack operation is thrashing my server, Shawn O. Pearce, (Mon Aug 11, 8:59 am)
Re: pack operation is thrashing my server, Andi Kleen, (Mon Aug 11, 12:10 pm)
Re: pack operation is thrashing my server, Ken Pratt, (Mon Aug 11, 12:13 pm)
Re: pack operation is thrashing my server, Ken Pratt, (Mon Aug 11, 12:15 pm)
Re: pack operation is thrashing my server, Shawn O. Pearce, (Mon Aug 11, 12:22 pm)
Re: pack operation is thrashing my server, Ken Pratt, (Mon Aug 11, 12:29 pm)
Re: pack operation is thrashing my server, Shawn O. Pearce, (Mon Aug 11, 12:34 pm)
Re: pack operation is thrashing my server, Andi Kleen, (Mon Aug 11, 1:10 pm)
Re: pack operation is thrashing my server, Nicolas Pitre, (Tue Aug 12, 7:38 pm)
Re: pack operation is thrashing my server, Andi Kleen, (Tue Aug 12, 7:50 pm)
Re: pack operation is thrashing my server, Shawn O. Pearce, (Tue Aug 12, 7:57 pm)
Re: pack operation is thrashing my server, Geert Bosch, (Tue Aug 12, 8:12 pm)
Re: pack operation is thrashing my server, Shawn O. Pearce, (Tue Aug 12, 8:15 pm)
Re: pack operation is thrashing my server, Geert Bosch, (Tue Aug 12, 8:58 pm)
Re: pack operation is thrashing my server, Jakub Narebski, (Wed Aug 13, 5:43 am)
Re: pack operation is thrashing my server, Nicolas Pitre, (Wed Aug 13, 7:35 am)
Re: pack operation is thrashing my server, Nicolas Pitre, (Wed Aug 13, 7:37 am)
Re: pack operation is thrashing my server, Jakub Narebski, (Wed Aug 13, 7:56 am)
Re: pack operation is thrashing my server, Shawn O. Pearce, (Wed Aug 13, 7:59 am)
Re: pack operation is thrashing my server, Shawn O. Pearce, (Wed Aug 13, 8:04 am)
Re: pack operation is thrashing my server, David Tweed, (Wed Aug 13, 8:26 am)
Re: pack operation is thrashing my server, Nicolas Pitre, (Wed Aug 13, 8:43 am)
Re: pack operation is thrashing my server, Shawn O. Pearce, (Wed Aug 13, 8:50 am)
Re: pack operation is thrashing my server, Geert Bosch, (Wed Aug 13, 9:01 am)
Re: pack operation is thrashing my server, Johan Herland, (Wed Aug 13, 9:10 am)
Re: pack operation is thrashing my server, Nicolas Pitre, (Wed Aug 13, 10:04 am)
Re: pack operation is thrashing my server, Dana How, (Wed Aug 13, 10:13 am)
Re: pack operation is thrashing my server, Shawn O. Pearce, (Wed Aug 13, 10:19 am)
Re: pack operation is thrashing my server, Nicolas Pitre, (Wed Aug 13, 10:26 am)
Re: pack operation is thrashing my server, Ken Pratt, (Wed Aug 13, 10:38 am)
Re: pack operation is thrashing my server, Nicolas Pitre, (Wed Aug 13, 10:57 am)
Re: pack operation is thrashing my server, Martin Langhoff, (Wed Aug 13, 4:54 pm)
Re: pack operation is thrashing my server, Andreas Ericsson, (Wed Aug 13, 11:33 pm)
Re: pack operation is thrashing my server, David Tweed, (Thu Aug 14, 2:04 am)
Re: pack operation is thrashing my server, Thomas Rast, (Thu Aug 14, 3:04 am)
Re: pack operation is thrashing my server, Andreas Ericsson, (Thu Aug 14, 3:15 am)
Re: pack operation is thrashing my server, Nicolas Pitre, (Thu Aug 14, 7:01 am)
Re: pack operation is thrashing my server, Linus Torvalds, (Thu Aug 14, 10:21 am)
Re: pack operation is thrashing my server, Linus Torvalds, (Thu Aug 14, 10:58 am)
Re: pack operation is thrashing my server, Nicolas Pitre, (Thu Aug 14, 11:38 am)
Re: pack operation is thrashing my server, Linus Torvalds, (Thu Aug 14, 11:55 am)
Re: pack operation is thrashing my server, Nicolas Pitre, (Thu Aug 14, 12:04 pm)
Re: pack operation is thrashing my server, Linus Torvalds, (Thu Aug 14, 12:44 pm)
Re: pack operation is thrashing my server, Andi Kleen, (Thu Aug 14, 2:30 pm)
Re: pack operation is thrashing my server, Nicolas Pitre, (Thu Aug 14, 2:50 pm)
Re: pack operation is thrashing my server, Shawn O. Pearce, (Thu Aug 14, 3:33 pm)
Re: pack operation is thrashing my server, Linus Torvalds, (Thu Aug 14, 4:14 pm)
Re: pack operation is thrashing my server, Björn, (Thu Aug 14, 4:39 pm)
Re: pack operation is thrashing my server, Linus Torvalds, (Thu Aug 14, 5:06 pm)
Re: pack operation is thrashing my server, Linus Torvalds, (Thu Aug 14, 5:25 pm)
Re: pack operation is thrashing my server, Nicolas Pitre, (Thu Aug 14, 6:46 pm)
Re: pack operation is thrashing my server, Linus Torvalds, (Fri Aug 15, 9:15 am)
Re: pack operation is thrashing my server, Linus Torvalds, (Fri Aug 15, 5:34 pm)
Re: pack operation is thrashing my server, Björn, (Sat Aug 16, 5:47 am)
Re: pack operation is thrashing my server, Junio C Hamano, (Sat Sep 6, 6:03 pm)
Re: pack operation is thrashing my server, Linus Torvalds, (Sat Sep 6, 6:46 pm)
Re: pack operation is thrashing my server, Junio C Hamano, (Sat Sep 6, 7:33 pm)
Re: pack operation is thrashing my server, Jon Smirl, (Sat Sep 6, 7:50 pm)
Re: pack operation is thrashing my server, Linus Torvalds, (Sat Sep 6, 8:07 pm)
Re: pack operation is thrashing my server, Jon Smirl, (Sat Sep 6, 8:43 pm)
Re: pack operation is thrashing my server, Linus Torvalds, (Sat Sep 6, 9:50 pm)
Re: pack operation is thrashing my server, Mike Hommey, (Sun Sep 7, 12:45 am)
Re: pack operation is thrashing my server, Andreas Ericsson, (Sun Sep 7, 1:18 am)
Re: pack operation is thrashing my server, Jon Smirl, (Sun Sep 7, 6:58 am)
Re: pack operation is thrashing my server, Nicolas Pitre, (Sun Sep 7, 10:08 am)
Re: pack operation is thrashing my server, Nicolas Pitre, (Sun Sep 7, 10:11 am)
Re: pack operation is thrashing my server, Junio C Hamano, (Sun Sep 7, 10:41 am)
Re: pack operation is thrashing my server, Jon Smirl, (Sun Sep 7, 1:33 pm)
Re: pack operation is thrashing my server, Nicolas Pitre, (Mon Sep 8, 7:17 am)
Re: pack operation is thrashing my server, Jon Smirl, (Mon Sep 8, 8:12 am)
Re: pack operation is thrashing my server, Jon Smirl, (Mon Sep 8, 9:01 am)