Skip to content

8. How to run the `web` program

BlaCkinkGJ edited this page Sep 25, 2020 · 3 revisions

First of all, you have to run the web program in the project root directory with sudo privilege like the following command.

sudo python web/run.py

Next, you open your web browser and type the <IP>:<port> in your web browser. You can see the <IP>:<port> information on the command line. Note that 0.0.0.0 automatically binds to your <IP>.

For instance, If you see the 0.0.0.0:5000 in your command line and your IP is 123.456.789.123 then you type the 123.456.789.123:5000 in your web browser.

Now you can see the initial page of web project. That page has # of cgroup, Driver fields, and Advanced Settings button. You have to set each field then click the Advanced Settings button.

Item Content
# of cgroup How many you want to create the Container or Cgroup.
Driver Which driver you want to run

On the next page, You can see many input boxes each of them is related to benchmark settings. You have to fill properly those boxes to get the result of which wants to see from benchmark execution. And click the Start button.

you must be aware that not each trace data path directs the location of run the web browser computer's directory, but it directs the location of run the web program.

Now, you can see the real-time execution result. Additionally, If you hover your mouse on the chart and click the right button of the mouse then you can get that chart's image.

After the benchmark terminates, the web project shows the finishing state message to the right bottom on your screen. And you can get the execution results of each container's benchmark file in the project root directory.