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

RE: Re: Commit lot of new files takes too long

From: Lübbe Onken | RA Consulting <l.onken_at_rac.de>
Date: 2007-11-29 12:37:58 CET

Hi Daniel,

You wrote:

> yes i understand that it will take long time to commit such
> number of files.
> I'm just wonder why files are not sent in constant time (they are cca
> same size), but it takes longer and longer with each next file it
> sent.

You mention that your Laptop = Client & Server has 496 MB Ram. You're committing thousands of small files (13KB Files * 40KB Size = roughly 520MB++ Data to commit, which is more than your physical memory)

> eg. first 10 files are sent in "no time", than next 10 in 1 sec, and
> next files each takes 500ms to send.
> And 100-... files takes each 1 sec to send.

Run a tool like Sysinternals (now Microsoft) "Process Explorer" before you start the commit. You'll probably see that the memory curve is reaching its limit after 80-100 files and that the I/O curve will start to rise.

Imagine that you are acting on zillions of small files at the same time. All your data files, all WC administrative files used by SVN, all files in the repository and all of that on the same machine with only a single Harddisk. Laptop disk are normally not the fastest ones, because they are built for low noise & low power consumption.

Cheers
- Lübbe

--
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Thu Nov 29 12:38:11 2007

This is an archived mail posted to the TortoiseSVN Users mailing list.

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