about custom workloads in FireSim

79 views
Skip to first unread message

Tao Wang

unread,
Apr 14, 2022, 11:57:27 PM4/14/22
to FireSim
Hi,

Suppose that I have a scenario consisting of 3 nodes, a client, a HTTP proxy, a webserver.

Client generates HTTP requests which will be proxied to the webserver. For example, the client may be wrk tool, HTTP proxy may be nginx, and the webserver may be httpd.

So is it possible for FireSim to support this scenario?

Thanks!

nat...@berkeley.edu

unread,
Apr 15, 2022, 12:48:55 PM4/15/22
to FireSim
yup. You can use FireMarshal to build the workload with multiple jobs and then run it on FireSim with the network config set up.

On the FireSim side, you can follow the docs for cluster simulation: https://docs.fires.im/en/stable/Running-Simulations-Tutorial/Running-a-Cluster-Simulation.html

On FireMarshal, you can build a workload with multiple jobs. On FireSim, each job will be a node in your cluster. IPs start at 172.16.0.2 for the first job and go up by one for each additional job. Right now FireMarshal can't simulate networked jobs (it just boots the jobs without the network). This is going to be fixed in the next release. For now, you can develop the jobs on functional simulation with Marshal's "launch" command, but to test the network, you'll need to launch it in FireSim.

Tao Wang

unread,
Apr 16, 2022, 2:40:36 PM4/16/22
to FireSim
Thanks. Just for clarification.

So, basically, i can use FireMarshal to build the workloads (i.e., set up client, proxy and httpd), and use FireSim to setup and cluster (i.e., 3 nodes).

Then launch the client to send out http requests, right?

nat...@berkeley.edu

unread,
Apr 18, 2022, 1:37:50 PM4/18/22
to FireSim
Yup. FireMarshal is the software workload management tool for FireSim/Chipyard. We use it to build most software that runs on FireSim. Once you're on FireSim, you'll have a fairly standard network available to you.
Reply all
Reply to author
Forward
0 new messages