[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensolaris-code
Subject:    Re: [osol-code] pull the source from mercurial repository
From:       Stephen Hahn <sch () sun ! com>
Date:       2008-01-31 17:59:55
Message-ID: 20080131175955.GB158009 () eng ! sun ! com
[Download RAW message or body]

* vinay simha bn <simhavcs@gmail.com> [2008-01-31 14:04]:
> i used these command to pull the source from ON Mercurial repository by
> 
> #hg clone ssh://anon@hg.opensolaris.org/hg/onnv/onnv-gate
> 
> 
> it had been 9 hours the shell prompt shows.. 
> 
> destination directory: onnv-gate
> requesting all changes
> adding changesets
> adding manifests
> adding file changes
> 
> 
> 
> 
> how many hours need to pull the source from ON Mercurial
> repository...only onnv-gate folder is created in / directory.. it had
> been  9 hours ....there are no files are created in onnv-gate,when
> files are created in this directory.

  You should be able to truss the hg process from another window, with
  something like

  $ truss -p `pgrep hg`

  and see if it's making progress.  The repository copy is first created
  in .hg, and then the working copy is created from that data.

  I just ran two clones:  one from work to tmpfs (very big pipes, I
  assume) and one from home to mirrored ufs (6Mbps ADSL), with the
  following results

24 rosseau $ time hg clone ssh://anon@hg.opensolaris.org/hg/onnv/onnv-gate
destination directory: onnv-gate
requesting all changes
adding changesets
adding manifests
adding file changes
added 5948 changesets with 88366 changes to 49231 files
44531 files updated, 0 files merged, 0 files removed, 0 files unresolved
hg clone ssh://anon@hg.opensolaris.org/hg/onnv/onnv-gate  72.86s user
8.72s system 8% cpu 16:02.73 total
25 rosseau $ du -sk onnv-gate
862844  onnv-gate

  and


503 cooler $ time hg clone ssh://anon@hg.opensolaris.org/hg/onnv/onnv-gate
destination directory: onnv-gate
requesting all changes
adding changesets
adding manifests
adding file changes
added 5948 changesets with 88366 changes to 49231 files
44531 files updated, 0 files merged, 0 files removed, 0 files unresolved

real    19m43.116s
user    1m17.736s
sys     0m23.625s

  so you may want to analyze other factors, like link speed.

  - Stephen

* Don't forget to turn on compression (three times slower otherwise):

  http://blogs.sun.com/sch/entry/tip%3A_mercurial_atop_ssh

-- 
sch@sun.com  http://blogs.sun.com/sch/
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic