How to properly run sbws in Shadow with tornettools? #3306
Replies: 1 comment 13 replies
-
Hello! Just a word of warning: I have never tried to run sbws myself, so this is general advice. You may have to play around and adjust things to get it to work. sbws is just python code, and we have successfully run other python applications in Shadow before. So I believe it should be possible to do what you want now. Whether or not it works successfully depends a bit on the python features sbws is using - if it uses any Linux features that Shadow does not support yet, then you might get some errors in the Shadow or sbws log files. But you could try it and see what happens! As far as how to run sbws in Shadow, you generally have the right idea. You need to configure a host in the Shadow config file to run sbws. You could add it to the existing authority hosts by adding a new line into their You might need to specify The network configuration already stores a and that file is specified here: If using You probably want to leave this critical file in place to start with, so that the network has a valid v3bw file while sbws is conducting measurements. Then when the measurements are completed, produce a new v3bw file and overwrite the Let us know if you get this working! |
Beta Was this translation helpful? Give feedback.
-
There was a post 2 years ago about running sbws (the bandwidth scanner) in Shadow: #1909
However, back then it seemed to be an open question.
I'd like to ask if it's clear now regarding how to run sbws in Shadow?
Additionally, I'm also using tornettools, which generates shadow config for me.
Is it as simple as inserting:
To the
processes
block of each 4uthority host inshadow.config.yaml
which is generated by tornettools?Or is it more complicated? To my understanding, without sbws, the dirauths in Shadow read the bandwidth files provided by Shadow. So it seems like at the very least I'll need to reconfigure them to read the bandwidth files from sbws.
Beta Was this translation helpful? Give feedback.
All reactions