Re: [p4] Perforce Performance with Lots Binary Files

Sambwise <[email protected]>
Newsgroups gmane.comp.version-control.perforce
Message-ID <[email protected]>
Posted on behalf of forum user 'Sambwise'.

FWIW, Perforce does most of its decompression on the client side (e.g. during
sync, which is the most common, the server transfers the zipped file to the
client and the client unzips it), so if you turn off compression for files that
would actually benefit from it, you're sacrificing storage on the server
(which is potentially expensive) as well as network bandwidth (which is also
potentially precious if you're geographically distributed) to save a very
small amount of CPU time on the client (which is basically
free).  Some of the filetypes in your typemap there will actually
compress pretty nicely (for example BMP and WAV both *can* contain compressed
data but in my experience are usually uncompressed and will shrink quite a bit
when zipped).

Note that the built-in filetype detection specifically checks for common
compression headers, including GIF, JPG, and GZ:    
https://swarm.workshop.perforce.com/files/guest/perforce_software/p4/2017-2/sys/filecheck.cc#302



--
Please click here to see the post in its original format:
  http://forums.perforce.com/index.php?/topic/1134-perforce-performance-with-lots-binary-files
_______________________________________________
perforce-user mailing list  -  [email protected]
http://maillist.perforce.com/mailman/listinfo/perforce-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.