# Run the following commands to create the workload setup git clone https://github.com/ahalarnkar-ampere/deathstarbench-ah.git cd deathstarbench-ah && git checkout arm64-port cd socialNetwork/wrk2/deps && rm -rf luajit git clone https://luajit.org/git/luajit.git cd luajit && make && sudo make install && \ sudo ln -sf luajit-2.1.0-beta3 /usr/local/bin/luajit cd ../../ # Build for wrk on arm64 fails for x86. Use #ifdef to skip this x86 header for aarch64 sed -i 's/#include <x86intrin.h>/#ifdef __x86_64__\n #include <x86intrin.h>\n#endif\n/g' src/hdr_histogram.c # Retrieve the LoadBalancer IP address to be used in wrk command on Line 15 loadbalancerip=$(kubectl get all -A | grep LoadBalancer | awk '{print $5}') #Execute wrk binary with options ./wrk -t10 -c1000 -d5m -R3000 -L -s ./scripts/social-network/mixed-workload.lua http://$loadbalancerip:8080
cd deathstarbench-ah/socialNetwork/wrk2/scripts/social-network
The social-network workload scripts. Note: The above image is for reference purpose only