High-Precision-Congestion-Control icon indicating copy to clipboard operation
High-Precision-Congestion-Control copied to clipboard

make trace_reader unable to read tr file!!!

Open dongzhiydz opened this issue 2 years ago • 5 comments

大师,感谢指点!我怕用英文标识不清楚,我就用中文了!

make trace_reader可以正常运行,运行后出来一个trace_reader图标的文件。然后我运行 ./trace_reader mix_topology_flow_dcqcn.tr 没有任何反应,我想直接打开mix_topology_flow_dcqcn.tr文件还是乱码。 请问一下大佬,可能是哪里的问题的?您有遇见过这样的问题吗?感谢指点! 后面我想把我遇到的问题+解决办法,等等都分享到issue下面。哈哈哈

image

image

dongzhiydz avatar May 14 '22 15:05 dongzhiydz

I think you need to add ' around time>2000000000. Otherwise, the > may be interpreted by bash as redirection.

Please let me know if this works. If so, I will update the README accordingly.

liyuliang001 avatar May 14 '22 16:05 liyuliang001

Solution English: I know what's wrong. enable_ Trace = 1 is not on. third. CC algorithm sneaks enable in config file_ Change trace = 1 to enable_ Trace = 0, so the trace system is not turned on. Solution: put the running config_ topology_ flow_ dcqcn. Enable in TXT file_ Trace = 0, change to enable_ Trace = 1, and then use config directly_ topology_ flow_ dcqcn. Txt this file runs third The TR file from the CC program is the correct file. Then you can use it/ trace_ reader mix_ topology_ flow_ dcqcn. TR analysis.

解决方案 中文: 我知道是哪里出问题了。enable_trace = 1 没有开启。third.cc算法偷偷把config文件中的enable_trace = 1改为 enable_trace = 0 ,导致trace系统没有开启。 解决方法:把运行后的config_topology_flow_dcqcn.txt文件中的enable_trace = 0,改为enable_trace = 1,然后直接用config_topology_flow_dcqcn.txt这个文件运行third.cc程序出来的tr文件就是正确的文件。然后就可以用./trace_reader mix_topology_flow_dcqcn.tr 分析了。

image

image

dongzhiydz avatar May 17 '22 13:05 dongzhiydz

A better solution is to see where third puts enable_ Change trace = 1 to enable_ Trace = 0, modify it, and then you can run the program using the steps in readme.

更好的解决方法是看看third哪里把enable_trace = 1改为enable_trace = 0,修改它,然后就可以使用readme中的步骤运行程序。

dongzhiydz avatar May 17 '22 13:05 dongzhiydz