Re: svn to git, N-squared?
From: Jon Smirl <hidden>
Date: 2016-06-15 22:42:29
On 6/12/06, Linus Torvalds [off-list ref] wrote:
On Mon, 12 Jun 2006, Jon Smirl wrote:quoted
I've stablized like this. 1GB RAM with 2.8Ghz P4 hyperthread. Is there anyway to tell what it is doing in the kernel for so much time?oprofile will tell you. I don't see why it would spend a lot of time in the kernel, unless it's the SVN part that does a ton of reads or something. git should have almost no kernel footprint apart from the individual objects creation/reading, so once it's repacked, I generally see very little system time. What does top say? (Ie can you see _which_ process spends time in the kernel?)
top - 11:54:32 up 4 days, 1:27, 5 users, load average: 1.85, 1.74, 1.55
Tasks: 135 total, 2 running, 133 sleeping, 0 stopped, 0 zombie
Cpu(s): 14.7% us, 35.3% sy, 0.0% ni, 49.3% id, 0.0% wa, 0.2% hi, 0.5% si, 0
Mem: 1035740k total, 1020836k used, 14904k free, 18368k buffers
Swap: 118222276k total, 645124k used, 117577152k free, 183172k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
14525 jonsmirl 16 0 604m 391m 1904 S 24 38.7 916:53.39 git-svnimport
20947 jonsmirl 17 0 0 0 0 R 1 0.0 0:00.03 git-svnimport
20864 jonsmirl 16 0 2120 1024 788 R 1 0.1 0:00.08 top
2436 root 15 0 71184 28m 6100 S 0 2.8 119:13.55 Xorg
1 root 16 0 1992 340 312 S 0 0.0 0:00.79 init
2 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/0
3 root 34 19 0 0 0 S 0 0.0 0:01.42 ksoftirqd/0
4 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/0
--
Jon Smirl
jonsmirl@gmail.com