Test the benchmark performance of lxcfs.
LXC Benchmark is a tool designed to test and evaluate the benchmark performance of LXCFS (LXC Filesystem).
-
Clone the repository:
git clone https://github.com/oplxc/lxcbenchmark.git cd lxcbenchmark #or wget https://github.com/oplxc/lxcbenchmark/archive/refs/heads/main.zip
-
Build the project:
make #make static
-
setting thread:
export thd=1
-
running test:
./lxcbk
To run the benchmark tests, use the following command:
./lxcbk [anything]
This project is licensed under the MIT License. See the LICENSE file for details.
- LXCFS for providing the userspace filesystem for containers.
- LXC for the container management framework.
- rename ANYTHING, you can rename it like "nginx"
- options ANYTHING, you can using any Options to start like "-s reload"
- So, you can start lxc benchmark as "nginx -s reload"
Use -h to get helpinfo