Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotel Reservation not working for Kubernetes HTTP workload generator #262

Open
XiangyuG opened this issue Jan 17, 2023 · 4 comments
Open

Comments

@XiangyuG
Copy link

When I try to run the HTTP workload generator according to the README file in https://github.com/delimitrou/DeathStarBench/tree/master/hotelReservation/kubernetes,

cd /root/DeathStarBench/hotelReservation
./wrk -D exp -t 2 -c 2 -d 30 -L -s ./wrk2_lua_scripts/mixed-workload_type_1.lua http://frontend.hotel-res.svc.cluster.local:5000 -R 2 

It shows that ./wrk file is not found. After reading through the file, I found that there is only wrk2 file without any executable scripts inside. I am wondering whether I do something wrong on my side or I should follow another instruction?

Many thanks.

@przmk0
Copy link
Contributor

przmk0 commented Jan 18, 2023

@XiangyuG did you compile wrk2? please run make all in wrk2 directory and see if executable is produced

@XiangyuG
Copy link
Author

@przmk0 Thanks for your suggestion. I am trying to make all in wrk2 directory and it shows me the error in the figure below. I am using MacOS version 12.5.1 with Intel chip. I think I have already installed all the dependencies. Do I need to migrate to other OS platforms to make everything?

image

@lepidopterane-atsmith
Copy link

I am also running into something similar on my 10.12.6 macOS.

Save LuaJIT bytecode: luajit -b[options] input output
  -l        Only list bytecode.
  -s        Strip debug info (default).
  -g        Keep debug info.
  -n name   Set module name (default: auto-detect from input name).
  -t type   Set output file type (default: auto-detect from output name).
  -a arch   Override architecture for object files (default: native).
  -o os     Override OS for object files (default: native).
  -e chunk  Use chunk string as input.
  --        Stop handling options.
  -         Use stdin as input and/or stdout as output.

File types: c h obj o raw (default)
make: *** [obj/bytecode.o] Error 1

@Red-GV
Copy link
Contributor

Red-GV commented Jan 11, 2024

@XiangyuG @lepidopterane-atsmith Not sure if you both are still stuck with getting a wrk2 client for Kubernetes, but there is now a working Docker image that can be leveraged to use the workload generator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants