From: Ngo C. C. <cuo...@gm...> - 2009-04-07 15:52:42
|
But sometimes there is always the error sendTS > recvTS and the node quit. Ngo Cao Cuong wrote: > I think I've fixed it. In ICMPPinger I replace > pd.sendTS = System.nanoTime() / 1000 > by > pd.sendTS = System.currentTimeMillis() *1000 > > and It worked. > > Thanks. > Peter Pietzuch wrote: >> Ngo Cao Cuong wrote: >>> I haven't found where we can fix it yet but I'll try. >>> At the moment could you tell me which configuration (of pyxida, jdk, >>> jpcap) we can implement stably on PlanetLab? >> Jon, what was the last version that ran successfully on PlanetLab with pcap? >> >> Cheers, >> Peter >> >>> Peter Pietzuch wrote: >>>> Ngo Cao Cuong wrote: >>>> >>>>> Thank you for your answer. >>>>> I installed java 1.6.0_13, I tried jpcap 0.5.1, it did work but >>>>> everytime the RecvTS is much bigger than SendTS so the latency is very >>>>> big (like 124535363633), so every node one planetlab update with [0,0,0,0] >>>>> >>>> This is the correct version to use. We are aware of the bug with Java >>>> 1.6 and the recvTS/sendTS timestamps but haven't fixed it yet. I think >>>> it has something to do with the fact that the resolution of nanoTime has >>>> changed in Java 1.6. Can you see if you can fix it? >>>> >>>> Cheers, >>>> Peter >>>> >>>> >>>>> Peter Pietzuch wrote: >>>>> >>>>>> Hello, >>>>>> >>>>>> Ngo Cao Cuong wrote: >>>>>> >>>>>>> Well finally I solved this problem (because we need to install java 1.6 >>>>>>> instead of 1.5!) but there is always an error with jpcap "exception in >>>>>>> thread"thread-2" java.lang.nosSuchMethodError: setRoutingOption >>>>>>> at jpcap.JpcapCaptor.nativeOpenLive(Native Method) >>>>>>> at jpcap.JpcapCaptor.openDevice(JpcapCaptor.java:68) >>>>>>> at edu.harvard.syrah.pyxida.ping.JpcapPinger$1.run(JpcapPinger.java:95) >>>>>>> >>>>>> This seems like a version conflict between the Java jpcap library and >>>>>> the pcap installation on your machine. Can you check the versions? >>>>>> >>>>>> Cheers, >>>>>> Peter >>>>>> >>>>>> >>>>>>>> Hello, >>>>>>>> >>>>>>>> I've tried to run 0.1.5 but there is always an error: >>>>>>>> "Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad >>>>>>>> version number in .class file" >>>>>>>> >>>>>>>> I've tried to run 0.1.4 too , it did run but sometimes there is some >>>>>>>> nodes quit the network with the error of JPcap "RecvTS < SendTS" ??? >>>>>>>> (error on the assert RecvTS > SendTS) >>>>>>>> >>>>>>>> Anyone can help me? >>>>>>>> >>>>>>>> Thank you, >>>>>>>> Ngo Cao Cuong >>>>>>>> INRIA Sophia Antipolis, France. >>>>>>>> >>>>>>> ------------------------------------------------------------------------------ >>>>>>> This SF.net email is sponsored by: >>>>>>> High Quality Requirements in a Collaborative Environment. >>>>>>> Download a free trial of Rational Requirements Composer Now! >>>>>>> http://p.sf.net/sfu/www-ibm-com >>>>>>> _______________________________________________ >>>>>>> Pyxida-users mailing list >>>>>>> Pyx...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/pyxida-users >>>>>>> >>>> >>> ------------------------------------------------------------------------------ >>> This SF.net email is sponsored by: >>> High Quality Requirements in a Collaborative Environment. >>> Download a free trial of Rational Requirements Composer Now! >>> http://p.sf.net/sfu/www-ibm-com >>> _______________________________________________ >>> Pyxida-users mailing list >>> Pyx...@li... >>> https://lists.sourceforge.net/lists/listinfo/pyxida-users >> > |