On Mar 19, 2013, at 12:02 PM, Tmusic wrote: > I'm trying to run with pypy but it can't import some of my modules (all in > the /pox directory). For example myrouter.mylinkmonitor does not work, but my > myrouter.mypackethandler does. > > python pox.py <modules> works like a charm > ./pox.py <modules> cannot find all modules > <path>/pypy pox.py <modules> has the same problem as the latter > > It's probably something silly, but I can't find it...
This is probably because you're importing modules that aren't installed in PyPy. If they're C modules, you may be out of luck. If they're Python modules, you just need to adjust your path or install them in PyPy. For more info, try "pypy/bin/pypy debug-pox.py ..." or something along those lines and see if it's more informative. > Concerning the number of packet_in events. It's about 10 per second (+ about > 10 stats_requests and replies, which are logged by a separate module). Are your event handlers doing much work (and stalling the coop thread)? -- Murphy
