[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: some performance data

From: Michael Price <mprice_at_atl.lmco.com>
Date: 2003-01-10 22:32:55 CET

Michael Price writes:
> I was going to respond to this with my own performance numbers to
> illustrate, but while performing my tests, an 'svn update' managed to
> consume all available memory and crash. I'll compile an svn with
> debugging info and post a recipe and stack trace shortly.

Sorry for the delay -- real work got in the way.

Doesn't run out of memory -- there was plenty left when it
crashed. Using revision 4322 on a Solaris 8 box. Repo and working
copy on local hard drive. Svn compiled with gcc -O2 -g.

$ ~/local/tmp> svnadmin create repo
$ ~/local/tmp> svn co file://`pwd`/repo wc
Checked out revision 0.
$ ~/local/tmp> cd wc
$ ~/local/tmp/wc> for file1 in 0 1 2 3 4 5 6 7 8 9; do
> for file2 in 0 1 2 3 4 5 6 7 8 9; do
> for file3 in 0 1 2 3 4 5 6 7 8 9; do
> echo "too-slow" > $file1.$file2.$file3
> done; done; done
$ ~/local/tmp/wc> svn add ?.?.?
 [removed output]
$ ~/local/tmp/wc> svn commit -m "stuff"
 [removed output]
$ ~/local/tmp/wc> svn update
Abort (core dumped)
$ ~/local/tmp/wc> dir core
-rw------- 1 mprice mprice 366214768 Jan 10 16:18 core

 [removed gdb startup]

(gdb) bt
#0 0xfe4d9790 in __sigprocmask () from /usr/lib/libthread.so.1
#1 0xfe4ce9b4 in _resetsig () from /usr/lib/libthread.so.1
#2 0xfe4ce154 in _sigon () from /usr/lib/libthread.so.1
#3 0xfe4d1194 in _thrp_kill () from /usr/lib/libthread.so.1
#4 0xfe54b740 in raise () from /usr/lib/libc.so.1
#5 0xfe535ab4 in abort () from /usr/lib/libc.so.1
#6 0x0007c12c in abort_on_pool_failure (retcode=12)
    at subversion/libsvn_subr/pool.c:62
#7 0x0013be6c in apr_palloc (pool=0x7c120, size=24) at apr_pools.c:639
#8 0x0006651c in list (
    data=0x15e30b07 ") (5 8.3.6 n9.0.1) (5 5.9.2 gh.0.1) (5 6.7.3 iq.0.1) (5 9.1.6 ph.0.1) (5 7.5.4 kz.0.1) (5 8.3.5 n8.0.1) (5 7.5.3 ky.0.1) (5 6.7.2 ip.0.1) (5 9.1.5 pg.0.1) (5 5.9.1 gg.0.1) (5 8.3.4 n7.0.1) (5 5.9.0 gf"...,
    len=367204101, pool=0x15dd2e80) at subversion/libsvn_fs/util/skel.c:174
#9 0x000664e8 in list (
    data=0x15e30af8 "(5 5.9.3 gi.0.1) (5 8.3.6 n9.0.1) (5 5.9.2 gh.0.1) (5 6.7.3 iq.0.1) (5 9.1.6 ph.0.1) (5 7.5.4 kz.0.1) (5 8.3.5 n8.0.1) (5 7.5.3 ky.0.1) (5 6.7.2 ip.0.1) (5 9.1.5 pg.0.1) (5 5.9.1 gg.0.1) (5 8.3.4 n7.0"...,
    len=367204101, pool=0x15dd2e80) at subversion/libsvn_fs/util/skel.c:159
#10 0x000605dc in set_entry (parent=0x15e07190, name=0x15e072f8 "4.4.2",
    id=0x15e06e08, txn_id=0x15e2c6e8 "2", trail=0x1515cc50)
    at subversion/libsvn_fs/dag.c:549
#11 0x00061bf4 in svn_fs__dag_copy (to_node=0x15e07190,
    entry=0x15e072f8 "4.4.2", from_node=0x15e06df0,
    preserve_history=353750096, from_rev=1, from_path=0x1515cc30 "4.4.2",
    txn_id=0x15e2c6e8 "2", trail=0x1515cc50) at subversion/libsvn_fs/dag.c:1477
#12 0x0005bbe8 in txn_body_copy (baton=0xffbeec60, trail=0x1515cc50)
    at subversion/libsvn_fs/tree.c:2712
#13 0x00059090 in svn_fs__retry_txn (fs=0x30f730,
    txn_body=0x5bac4 <txn_body_copy>, baton=0xffbeec60, pool=0x197c00)
    at subversion/libsvn_fs/trail.c:131
#14 0x0005bd10 in svn_fs_revision_link (from_root=0x15dd4f30,
    to_root=0x320350, path=0x1515cc30 "4.4.2", pool=0x197c00)
    at subversion/libsvn_fs/tree.c:2780
#15 0x00054bbc in svn_repos_set_path (report_baton=0x253ca8,
    path=0x15dd4f30 "", revision=1) at subversion/libsvn_repos/reporter.c:211
#16 0x0003f040 in report_revisions (adm_access=0x252858, dir_path=0x154520 "",
    dir_rev=0, reporter=0x156f68, report_baton=0x253cf8,
    notify_func=0x2c874 <notify>, notify_baton=0x198038, restore_files=1,
    recurse=1, traversal_info=0x198050, pool=0x197c00)
    at subversion/libsvn_wc/adm_crawler.c:294
#17 0x0003f420 in svn_wc_crawl_revisions (path=0x198010 "",
    adm_access=0x252858, reporter=0x156f68, report_baton=0x253cf8,
    restore_files=1, recurse=1, notify_func=0x2c874 <notify>,
    notify_baton=0x198038, traversal_info=0x198050, pool=0x197c00)
    at subversion/libsvn_wc/adm_crawler.c:429
#18 0x0003e1b8 in svn_client_update (auth_baton=0x197ff8, path=0x198010 "",
    revision=0xffbef1c8, recurse=1, notify_func=0x2c874 <notify>,
    notify_baton=0x198038, pool=0x197c00)
    at subversion/libsvn_client/update.c:135
#19 0x0003127c in svn_cl__update (os=0x198010, baton=0xffbef1c8, pool=0x197c00)
    at subversion/clients/cmdline/update-cmd.c:80
#20 0x0002e6d8 in main (argc=-4262812, argv=0x0)
    at subversion/clients/cmdline/main.c:878

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jan 10 22:35:32 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.