aMule Forum
English => aMule News => Topic started by: Kry on July 26, 2005, 09:28:26 PM
-
Use daily CVS tarball and configure using
./configure --enable-kad-compile
and the rest of your usual configure flags.
Have fun :)
Kad is enabled by default, you can select the networks you want to use on Preferences->Connection.
It's still on testing phase, probably doesn't work yet on big-endian (like Mac) and search with parameters does NOT work.
But you can still test it.
-
Are there now additional binaries?
-
Obviously not.
-
First -> Nice move!
I don't know what kind of tests you mean ... but
PRO
- i got kad ok [not firewalled]
- lots of sources found through kad net
- found files through the search [no param]
- downloads @ full bandwidth
CON
- monolythic bin is not rock-solid, [completing files or starting downloading a new file lockup amule]
*probably in todo list
- two buttons for [dis]connecting kad/ed2k
- bootstrap from a known client
- nodes status
-
amule-ExternalConn.o: In function `Get_EC_Response_Search_Results(CObjTagMap&)':
/mnt/hda5/downloads/amule-cvs/src/ExternalConn.cpp:690: undefined reference to `CEC_SearchFile_Tag::CEC_SearchFile_Tag(CSearchFile*, CValueMap&)'
amule-ExternalConn.o: In function `Get_EC_Response_GetUpQueue(CObjTagMap&)':
/mnt/hda5/downloads/amule-cvs/src/ExternalConn.cpp:452: undefined reference to `CEC_UpDownClient_Tag::CEC_UpDownClient_Tag(CUpDownClient const*, CValueMap&)'
amule-ExternalConn.o: In function `Get_EC_Response_GetWaitQueue(CObjTagMap&)':
/mnt/hda5/downloads/amule-cvs/src/ExternalConn.cpp:405: undefined reference to `CEC_UpDownClient_Tag::CEC_UpDownClient_Tag(CUpDownClient const*, CValueMap&)'
amule-ExternalConn.o: In function `Get_EC_Response_GetSharedFiles(CFileEncoderMap&, CObjTagMap&)':
/mnt/hda5/downloads/amule-cvs/src/ExternalConn.cpp:358: undefined reference to `CEC_SharedFile_Tag::CEC_SharedFile_Tag(CKnownFile const*, CValueMap&)'
amule-ExternalConn.o: In function `Get_EC_Response_Search_Results(CECPacket const*)':
/mnt/hda5/downloads/amule-cvs/src/ExternalConn.cpp:675: undefined reference to `CEC_SearchFile_Tag::CEC_SearchFile_Tag(CSearchFile*, EC_DETAIL_LEVEL)'
amule-ExternalConn.o: In function `Get_EC_Response_GetSharedFiles(CECPacket const*, CFileEncoderMap&)':
/mnt/hda5/downloads/amule-cvs/src/ExternalConn.cpp:330: undefined reference to `CEC_SharedFile_Tag::CEC_SharedFile_Tag(CKnownFile const*, EC_DETAIL_LEVEL)'
amule-ExternalConn.o: In function `Get_EC_Response_GetUpQueue(CECPacket const*)':
/mnt/hda5/downloads/amule-cvs/src/ExternalConn.cpp:434: undefined reference to `CEC_UpDownClient_Tag::CEC_UpDownClient_Tag(CUpDownClient const*, EC_DETAIL_LEVEL)'
amule-ExternalConn.o: In function `Get_EC_Response_GetWaitQueue(CECPacket const*)':
/mnt/hda5/downloads/amule-cvs/src/ExternalConn.cpp:387: undefined reference to `CEC_UpDownClient_Tag::CEC_UpDownClient_Tag(CUpDownClient const*, EC_DETAIL_LEVEL)'
amule-ExternalConn.o: In function `Get_EC_Response_GetDownloadQueue(CECPacket const*, CFileEncoderMap&)':
/mnt/hda5/downloads/amule-cvs/src/ExternalConn.cpp:495: undefined reference to `CEC_PartFile_Tag::CEC_PartFile_Tag(CPartFile*, EC_DETAIL_LEVEL)'
amule-ExternalConn.o: In function `Get_EC_Response_GetDownloadQueue(CFileEncoderMap&, CObjTagMap&)':
/mnt/hda5/downloads/amule-cvs/src/ExternalConn.cpp:468: undefined reference to `CEC_PartFile_Tag::CEC_PartFile_Tag(CPartFile*, CValueMap&)'
amule-ExternalConn.o: In function `ExternalConn::ProcessRequest2(CECPacket const*, CFileEncoderMap&, CFileEncoderMap&, CObjTagMap&)':
/mnt/hda5/downloads/amule-cvs/src/ExternalConn.cpp:994: undefined reference to `CEC_ConnState_Tag::CEC_ConnState_Tag(EC_DETAIL_LEVEL)'
/mnt/hda5/downloads/amule-cvs/src/ExternalConn.cpp:1068: undefined reference to `CEC_Server_Tag::CEC_Server_Tag(CServer const*, EC_DETAIL_LEVEL)'
/mnt/hda5/downloads/amule-cvs/src/ExternalConn.cpp:1109: undefined reference to `CEC_Prefs_Packet::CEC_Prefs_Packet(unsigned int, EC_DETAIL_LEVEL, EC_DETAIL_LEVEL)'
/mnt/hda5/downloads/amule-cvs/src/ExternalConn.cpp:1112: undefined reference to `CEC_Prefs_Packet::Apply()'
/mnt/hda5/downloads/amule-cvs/src/ExternalConn.cpp:1119: undefined reference to `CEC_Category_Tag::Create()'
/mnt/hda5/downloads/amule-cvs/src/ExternalConn.cpp:1127: undefined reference to `CEC_Category_Tag::Apply()'
/mnt/hda5/downloads/amule-cvs/src/ExternalConn.cpp:1193: undefined reference to `CEC_Tree_Tag::CEC_Tree_Tag(tree > >::sibling_iterator const&)'
/usr/lib/libbfd.a(cache.o): In function `bfd_open_file':
: undefined reference to `unlink_if_ordinary'
collect2: ld returned 1 exit status
make[4]: ** [amule] Erro 1
-
Problem solved! Thanks anyway!
-
Originally posted by a-snu
First -> Nice move!
I don't know what kind of tests you mean ... but
[...]
CON
- monolythic bin is not rock-solid, [completing files or starting downloading a new file lockup amule]
If you can provide us with a gdb backtrace when this happens that would be exactly the kind of help we are looking for. It's really quite simple, all Information you need is here: http://www.amule.org/wiki/index.php/Backtraces
If amule has locked up it might be necessary to do a ctrl+c to get to the gdb prompt. In addition to 'bt' and 'bt full' the output of 'thread apply all bt' might be interesting.
And even the pure Information that "there might be something wrong somewhere because..." is already a useful information :)
-
I've encountered a bug in connection with amuleweb (amule cvs 20050727) and one with the KAD-search.
KAD status is OK (after being around a minute firewalled) and the search works.
I've kompiled with --enable-optimize --disable-debug --enable-webserver --enable-kad-compile
With amuleweb (My nb is currently running under windows) I could log in, but could not do more, back at my server I saw that amule crashed (is no more running, no message) and amuleweb consumes all my CPU without doing sth.
The second crash (without amuleweb) was when I closed the tab with the Kad-search-results. Dunno why.
And something very strange: My graphs background is red.
I hope i can help with this informations, I'll try to run a 24h test (until cvs 20050728 ;) ) and tell you if something strange happens.
-
there is a big time EC bug atm in current cvs, because Kry is trying to fix EC connection from windows using remote-gui....thats why ti crashes
atm just dont use any external programms such as webserver, amulecmd or remote-gui with current cvs
stefanero
-
And something very strange: My graphs background is red.
edit your amule.conf file and remove all 'StatColorX=nnn' lines
-
could anybody tell me how to enable kad-support? in every cvs is a comment like " --enable-kad-compile compile Kademlia code (DOES NOT WORK YET!))".
after using the "--enable..." switch the summary tells the same.
the compilation doesn't change anything, kad-support doesn't work :-(
-
wow, seems to be my fault. after updating to wxwidgets 2.6 the "does not work" comment is still readable, but now i can compile it.
sorry ;-)
-
Originally posted by nonamez78
"does not work" comment is still readable
fixed :P
-
I runs fine until now. Just a little inconsistency: I've set up amule to connect only to KAD.
During connecting I get KAD status firewalled and amule claims, that I've received a LowID and shows the earth with yellow arrows. After some seconds the KAD status changes into OK, but the LowID stays with the text no connection... (or similar) behind it.
-
will be fixed aswell, don't worry ;)
cheers
-
good news, I hope i can feel kad again before leaving the net :)
Also I've just seen Kry beeing mention on 0.46c released, first time I think (may be wrong) congratulation on this too :)
-
YEah, I'm twice on 0.46c, but I was there before ;) Thanks for noticing anyway!
-
How i have to set my firewall to use kad?
I have to open the udp port 4673 both in input and output?
There are my actual rules for amule:
#aMule INPUT
iptables -A INPUT -p tcp -m tcp --dport 4662 -j ACCEPT
iptables -A INPUT -p udp -m udp --dport 4672 -j ACCEPT
iptables -A INPUT -p udp -m udp --dport 4665 -j ACCEPT
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
#aMule OUTPUT
iptables -A OUTPUT -p tcp -m tcp --dport 4661 -j ACCEPT
iptables -A OUTPUT -p tcp -m tcp --sport 4662 -j ACCEPT
iptables -A OUTPUT -p udp -m udp --sport 4662 -j ACCEPT
-
Works fine here without any additional ports opened...
-
How ports have you open?
With my rules kad is firewalled ! :(
-
5662 tcp, 5665 and 5672 udp (the ports which are set / shown in preferences)
-
Maybe you just gotta wait a minute. I realised that the KAD status changes from firewalled to OK after a short period. Try waiting.
BTW: Don't you need Port 4661? I've opened 4661 + 4662 TCP and 4665 + 4672 UDP.
-
well you need that port open which is setup in your amule-preferences...so it can be ANY port ;)
and no you dont need 4661
default is 4662/tcp 4665/udp and 4672/udp,I guess thedude just had a typo
-
No, I just changed them a while ago when there were two *mules running on this network and never changed them back to defaults ;)
-
well then dont confuse the pople with your "wrong" values :P
-
check preferences - connection - client udp port
if you forward this port (udp) kad should not be firewalled anymore, at least it was for me (at the beginning it is for a short time, though)
-
Just a quick report: I'm using the latest CVS tarball (as today) on a FC2 system and it all seems to work fine :)
I had to install this file to be able to compile it:
wxGTK-2.6.0-1.i586-SuSE_8.2-9.0-9.1.rpm
it installed automatically without any problem on my FC2 machine, while the rpm precompiled for FC3 gave me errors.
(Just in case this info may be of some use to somebody else)
Thanks for your work!
-
So, how is it going? looks like kad implemantation is quite done now. I'm looking forward to seeing it work on my machine :D
Great job guys, thank you!!!
-
i will try it too! Kad r0x! I really missed kad on amule...
-
Kad implementation is slow like hell. Be warned.
-
No, it isn't. But lfroen seems to have problems with it.
-
Kry: i don't know how about you, but I actually measured it. Amule takes about 40% cpu where most of time it spends in main loop -> kad code.
I will have more results when oprofile will finally work for me.
-
2248 amule 15 0 76328 42m 15m S 25.1 27.1 96:03.60 amule
25% CPU usage on PII 300Mhz. Its more then amule without kad (about 10% cpu usage). Maybe kad code needs some improvements, but works fine. Thats a HUGE step! Tks guys for the hard work!
-
If you guys are using debug builds, Kad does serious use of stl classes, which are very heavy on debug.
-
Originally posted by PunkSC
2248 amule 15 0 76328 42m 15m S 25.1 27.1 96:03.60 amule
25% CPU usage on PII 300Mhz. Its more then amule without kad (about 10% cpu usage). Maybe kad code needs some improvements, but works fine. Thats a HUGE step! Tks guys for the hard work!
well, have to second this, switching from 20051014 CVS to 20051022 CVS my CPU usage increased of ~4x, only when Kad is running. Roughly, from ~1.5% to ~6% on an athlon xp 1700+
compiled with --disable-debug, wxGTK 2.6.2 + gtk 2.8.6
-
That was caused by Kad gui, is not strange.
And lfroen, Xaignar measured it and it's nowhere near the time on the core timer even a 5% used on Kad.
-
Originally posted by Kry
That was caused by Kad gui, is not strange.
is it temporary, I hope?
-
well Kad gui is going to be reworked... again ;) So yes.