[Cerowrt-devel] Problems testing sqm (solved)

Richard Smith smithbone at gmail.com
Sun Oct 25 16:44:46 EDT 2015


On 10/25/2015 04:33 PM, Sebastian Moeller wrote:

>>
>> Working on it...  I've run into a small snag in that I can't seem
>> to return back to Linksys stock.  For some reason the flash upload
>> goes really, really, slow (I verified I'm using wired) and the
>> upload times out before it completes.

> Ihink I read in the openwrt forum people use the serial/jtag port for
> such things, but the memory is dim and the thread by now has reached
> like 900 pages or so...

Well I was hoping to not have to crack open this router (for a change) 
I'll dig around more to see what I can find.

> Cool! I note it seems you are running an older flent version (or
> maybe even before the big rename, so netperf-wrapper). I think
> current flent includes enough improvements to merit a switch; I
> especially like “--remote-metadata=root at gw.home.lan” option to
> collect some data from the DUT automatically and save these into the
> output file, making it easy to answer a few question about the
> configuration used a few days/hours after the fact).

I am. Thats because new flent throws an exception on my laptop when I 
try to plot. My laptio is a hybird Ubuntu LTS 12.04.5. Hybrid in that I 
have lots of backports on it.

Traceback (most recent call last):
   File "/usr/local/bin/flent", line 9, in <module>
     load_entry_point('flent==0.12.4-git-31aed5e', 'console_scripts', 
'flent')()
   File 
"/usr/local/lib/python2.7/dist-packages/flent-0.12.4_git_31aed5e-py2.7.egg/flent/__init__.py", 
line 50, in run_flent
     b.run()
   File 
"/usr/local/lib/python2.7/dist-packages/flent-0.12.4_git_31aed5e-py2.7.egg/flent/batch.py", 
line 491, in run
     return self.run_test(self.settings, self.settings.DATA_DIR, True)
   File 
"/usr/local/lib/python2.7/dist-packages/flent-0.12.4_git_31aed5e-py2.7.egg/flent/batch.py", 
line 424, in run_test
     formatter.format([res])
   File 
"/usr/local/lib/python2.7/dist-packages/flent-0.12.4_git_31aed5e-py2.7.egg/flent/formatters.py", 
line 282, in format
     self.plotter.plot(results)
   File 
"/usr/local/lib/python2.7/dist-packages/flent-0.12.4_git_31aed5e-py2.7.egg/flent/plotters.py", 
line 297, in plot
     self.connect_interactive()
   File 
"/usr/local/lib/python2.7/dist-packages/flent-0.12.4_git_31aed5e-py2.7.egg/flent/plotters.py", 
line 347, in connect_interactive
     if self.interactive_callback or not self.can_highlight or not 
self.figure.canvas.supports_blit:
AttributeError: 'FigureCanvasQTAgg' object has no attribute 'supports_blit'

I've been meaning to file a bug, but just haven't gotten around to it yet.


> Also I want to
> note that if you shape ethernet you should use the link layer
> adaptation built into sqm (configurable via the GUI): Select Ethernet
> with overhead and specify the overhead to be: 24 Bytes (ethernet
> pre-amble & interframe gap & FCS,  Linux will have already accounted
> for MACs & frame type 14 bytes, you may need to add vlan tag (4
> additional bytes)).

Thanks.  I'll keep that in mind for future tests.


-- 
Richard A. Smith



More information about the Cerowrt-devel mailing list