Hi Anders

Finally I found the time for a benchmark, and it turns out that a complete
clone of 'data', using a 1.5Mb/s link, takes more than 3 hours.

I think that if we switch to git, and if we expect the size of 'data' to
keep growing at a brisk pace (addition of great new aircrafts, fancy new
models, ...), maybe we should plan to factor out parts of it into separate
repos.

If we move Aircraft into a separate repository (hosted on
hangar.flightgear.org :-) then we could push it to a widely-available SVN
hosting service (code.google.com) and stream to users on demand.
Think about it as the model for scenery & terrasync, but for airplanes.

I'll post another message with this idea, so that we don't clutter this
discussion, but I wanted to mention it here because it's related to how we
structure the repositories.

  Tom


$ time git clone git://mapserver.flightgear.org/flightgear flightgear
Initialized empty Git repository in /home/fg/flightgear/.git/
remote: Counting objects: 36319, done.
remote: Compressing objects: 100% (9803/9803), done.
remote: Total 36319 (delta 29320), reused 32601 (delta 26411)
Receiving objects: 100% (36319/36319), 7.81 MiB | 155 KiB/s, done.
Resolving deltas: 100% (29320/29320), done.

real    1m14.823s
user    0m4.872s
sys    0m0.640s


$ time git clone git://mapserver.flightgear.org/simgear simgear
Initialized empty Git repository in /home/fg/simgear/.git/
remote: Counting objects: 11478, done.
remote: Compressing objects: 100% (3713/3713), done.
remote: Total 11478 (delta 8938), reused 9849 (delta 7695)
Receiving objects: 100% (11478/11478), 4.19 MiB | 155 KiB/s, done.
Resolving deltas: 100% (8938/8938), done.

real    0m41.144s
user    0m1.488s
sys    0m0.324s


$ time git clone git://mapserver.flightgear.org/fgdata data

Initialized empty Git repository in /home/fg/data/.git/
remote: Total 112564 (delta 67668), reused 94736 (delta 56311)
Receiving objects: 100% (112564/112564), 1.63 GiB | 155 KiB/s, done.
Resolving deltas: 100% (67668/67668), done.
Checking out files: 100% (30324/30324), done.

real    195m8.212s
user    4m56.167s
sys    1m24.461s


On Fri, Sep 4, 2009 at 7:18 AM, Anders Gidenstam
<anders-...@gidenstam.org>wrote:

> On Thu, 3 Sep 2009, Tom P wrote:
>
> > Hi Anders
> >
> > How long does it take you to do a shallow clone from mapserver ?
> >
> > While I've checked-out data via CVS various times in the past (and it
> takes
> > a couple of hours), I haven't been able to clone the 1.6GB fgdata
> > repository, I interrupted after a few hours.
>
> Hi,
>
> As far as I could see (and git does present how much it has downloaded
> and the achived transfer rate) git downloaded 1 GB data (i.e. the
> compressed pack).
> How much time that takes will depend on your connection, in my case it was
> limited by my 6Mbit/sec downlink so the capacity of the mapserver was not
> a bottleneck for me.
>
> I used
> git clone --depth 1 git://mapserver.flightgear.org/fgdata
>
> You can probably use --depth 0 too.
>
> Cheers,
>
> Anders
> --
> ---------------------------------------------------------------------------
> Anders Gidenstam
> WWW: http://www.gidenstam.org/FlightGear/
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Flightgear-devel mailing list
> Flightgear-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to