This directory contains a couple of projects that have been useful to me in my
daily Perforce work. It is hoped that they may be useful to others. Do with
them as you please:
- p4fs: A C++ p4api project that demonstrates how the effects of client-side
file fragmentation on NTFS can be reduced, and sync performance increased.
If you often sync many large files this can be a serious performance bottleneck.
The project contains full source and prebuilt binaries of a p4 replacement tool
that almost completely removes file fragmentation and gives a nice performance
boost. Detailed documentation is in the readme in the project folder.
- p4p_clean.py: A script to manage the diskspace of a Perforce proxy. Meant to
automate proxy management and reduce maintenance. Will keep the disk usage
of a Perforce proxy in check and sends mail whenever it has cleaned the cache.
Works on both Windows and Linux. Documentation can be found at the top of the
- p4mon (used to be called p4_profiler_win): A script to monitor and profile the
performance of a Windows Perforce server. Runs continuously, giving you some
general stats on the machine: cpu load, network & disk usage, as well as the
cpu & memory load of the p4 server process. Lists details on all running
Perforce threads, so you can easily see what the server is doing and if it's
having a hard time doing it. Proxy and client stats can be monitored too to
make it easier to track down bottlenecks in your setup. Documentation can be
found in the readme in the project folder.
Please mail any suggestions or comments to firstname.lastname@example.org