Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CVS Performance

I have huge projects on a CVS repository, and I'm looking for ways to improve its performance. Would CVS compression help it? And what about encryption, does it degrade the speed?

Thanks!

like image 746
gmuller Avatar asked Jun 23 '09 15:06

gmuller


People also ask

Is CVS a buy right now?

CVS Health Corporation - Buy Valuation metrics show that CVS Health Corporation may be undervalued. Its Value Score of A indicates it would be a good pick for value investors. The financial health and growth prospects of CVS, demonstrate its potential to outperform the market. It currently has a Growth Score of A.

What is CVS and RSI?

What Is Computer Vision Syndrome. Though we may associate the term “Repetitive Strain Injury” with conditions like carpal tunnel syndrome, CVS is actually a form of RSI, as it arises from repeating one motion over and over again.

What are analysts saying about CVS stock?

CVS Health Corp (NYSE:CVS) The 20 analysts offering 12-month price forecasts for CVS Health Corp have a median target of 119.70, with a high estimate of 130.00 and a low estimate of 98.00. The median estimate represents a +34.43% increase from the last price of 89.04.

What is the business strategy of CVS?

Diversifying growth through new health services. Along with expanding our retail and primary care capabilities, we're harnessing the power of digital to help people schedule care, connect with physicians and get the quality, affordable care they deserve.


1 Answers

CVS will get slower over time through repeated use.

  • When you check-out the whole project, the server will need to create every directory (even if you've since removed it - purging directories after checkout hides this from you).
  • When you check-out, every file is opened and examined, this can be very slow if you have hundreds/thousands of files.
  • Things get even worse if you are not trying to get out the HEAD of the trunk as the contents need to be reconstructed prior to sending it to the client.

If after all of that, you want to improve performance of shifting the data between the server and the client, then you can (depending upon your content type) use the -z option for compressing. I find -z6 to be best, but depending upon the nature of your files, you may want more/less compressing.

-z GZIPLEVEL

Sets the compression level on communications with the server. The argument GZIPLEVEL must be a number from 1 to 9. Level 1 is minimal compression (very fast, but doesn't compress much); Level 9 is highest compression (uses a lot of CPU time, but sure does squeeze the data). Level 9 is only useful on very slow network connections. Most people find levels between 3 and 5 to be most beneficial.

A space between -z and its argument is optional.

like image 117
Ray Hayes Avatar answered Sep 30 '22 12:09

Ray Hayes