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

doesn't run on windows #233

Open
luochongjun opened this issue Aug 19, 2021 · 5 comments
Open

doesn't run on windows #233

luochongjun opened this issue Aug 19, 2021 · 5 comments

Comments

@luochongjun
Copy link

In win10 environment running flent, the following error appears, is it possible to fix?

[D:\]$ flent rrul -p ping_cdf -l 60 -H netperf.bufferbloat.net -t text-to-be-included-in-plot -o filename.png
Starting Flent 2.0.1 using Python 3.8.0.
Starting rrul test. Expected run time: 70 seconds.
Traceback (most recent call last):
  File "e:\python38\lib\runpy.py", line 192, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "e:\python38\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "E:\python38\Scripts\flent.exe\__main__.py", line 9, in <module>
  File "e:\python38\lib\site-packages\flent\__init__.py", line 60, in run_flent
    b.run()
  File "e:\python38\lib\site-packages\flent\batch.py", line 618, in run
    return self.run_test(self.settings, self.settings.DATA_DIR, True)
  File "e:\python38\lib\site-packages\flent\batch.py", line 515, in run_test
    res = self.agg.postprocess(self.agg.aggregate(res))
  File "e:\python38\lib\site-packages\flent\aggregators.py", line 237, in aggregate
    measurements, metadata, raw_values = self.collect()
  File "e:\python38\lib\site-packages\flent\aggregators.py", line 110, in collect
    signal.signal(signal.SIGUSR1, handle_usr1)
AttributeError: module 'signal' has no attribute 'SIGUSR1'
@luochongjun luochongjun changed the title dosen't run on windows doesn't run on windows Aug 19, 2021
@luochongjun
Copy link
Author

flent version

[D:\]$ flent --version
Starting Flent 2.0.1 using Python 3.8.0.
Flent v2.0.1.
Running on Python 3.8.0 (tags/v3.8.0:fa919fd, Oct 14 2019, 19:21:23) [MSC v.1916 32 bit (Intel)].
Using matplotlib version 3.4.3 on numpy 1.19.0.
No usable Qt version found. GUI won't work.

@tohojo
Copy link
Owner

tohojo commented Aug 19, 2021

That particular error may be fixable, but there will be others: running tests on windows is not supported, only viewing existing data files.

You should be able to run tests from inside a WSL environment, though. See https://docs.microsoft.com/en-us/windows/wsl/about

@mpenning
Copy link

mpenning commented Mar 5, 2024

@tohojo what would it take to get flent working under Windows? The ability to get good network test automation under non-WSL Windows would be super helpful...

Running under WSL means there is an intervening Linux layer (presumably with a different queue discipline) running. My Debian WSL has fq_codel enabled, but that's precisely the question I have about Windows (i.e. is there good bufferbloat mitigation for the Windows system under test). Thus far I have not found a good way to see whether Windows enables any kind of fq_codel in the chipset it's running...

@tohojo
Copy link
Owner

tohojo commented Mar 5, 2024 via email

@dtaht
Copy link
Collaborator

dtaht commented Mar 6, 2024

Given this HUGE problem with flent and testing windows (for example, windows has a new slow start algorithm that I would like to measure comprehensively), I have been trying to find other tools that do similar tests.

My favorite currently is the crusader test, written in rust, and works on everything. The third pane is very much like the rrul test in flent. We are still validating that flent and crusader are measuring about the same things here, but you can get it at: Zoxc/crusader#14

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