Author Topic: ProtaX Performance (RAM usage)  (Read 9492 times)

0 Members and 1 Guest are viewing this topic.

Offline BoJlk

  • Lord
  • ***
  • Posts: 335
  • Karma: +2/-0
Notice
« Reply #25 on: 11 November, 2004, 09:12:07 »
Well i've noticed that when i enable CMD's
in Users and Chats the Memory Usage starts to Climb up...when i had 97MB i've disabled it and it droped to around 80MB...

PtokaX forum

Notice
« Reply #25 on: 11 November, 2004, 09:12:07 »

Offline bastya_elvtars

  • Forum God
  • ****
  • Posts: 3 730
  • Karma: +173/-7
  • The rock n' roll doctor
    • The FreshStuff3 Site
(No subject)
« Reply #26 on: 11 November, 2004, 10:47:23 »
Quote
Originally posted by BoJlk
Well i've noticed that when i enable CMD's
in Users and Chats the Memory Usage starts to Climb up...when i had 97MB i've disabled it and it droped to around 80MB...

think of the fact that the computer has to show the cmds continually

Code: [Select]
[10:47] (81.185.90.183) > $Key A@G?/%DCN096%/?wgG"!T?????ĂPň?07??52?31rđŕ??/%DCN000%/łň2|
[10:47] (81.185.90.183) > $ValidateNick biigix|
[10:47] biigix (81.185.90.183) > $Version 1,0091|
[10:47] biigix (81.185.90.183) > $GetNickList|
[10:47] biigix (81.185.90.183) > $MyINFO $ALL biigix mldc client$ $DSL$$  11534336$|
[10:47] (212.90.82.81) > $Key Q?ˇ2?Ő0đă?F!˛/%DCN005%/WBFđ?ŁŐ?SRŇb?Q3Băˇ?A@s˛|
[10:47] (212.90.82.81) > $ValidateNick mzpppi|
[10:47] x User removed: biigix (Socket 308)
[10:47] hugo_fra_tv2? (81.225.83.109) > $UserIP biigix|
[10:47] mzpppi (212.90.82.81) > $Version 1,0091|
[10:47] mzpppi (212.90.82.81) > $GetNickList|
[10:47] mzpppi (212.90.82.81) > $MyINFO $ALL mzpppi mldc client$ $DSL$$  11534336$|
[10:47] mzpppi (212.90.82.81) > $RevConnectToMe [FIN]Killian mzpppi|
[10:47] mzpppi (212.90.82.81) > $ConnectToMe [FIN]Killian 212.90.82.81:4444|
[10:47] mzpppi (212.90.82.81) > $RevConnectToMe [FIN]Killian mzpppi|
[10:47] mzpppi (212.90.82.81) > $ConnectToMe [FIN]Killian 212.90.82.81:4444|
[10:47] x User removed: mzpppi (Socket 380)
[10:47] hugo_fra_tv2? (81.225.83.109) > $UserIP mzpppi|
[10:47] (81.153.39.84) > $Key вƒ?Qq 3ă˛??!?&/%DCN000%/?đ??ˇC?Ă0?/%DCN036%/ćR?CĐ!"?!BPR?|
[10:47] (81.153.39.84) > $ValidateNick wnyixn|
[10:47] wnyixn (81.153.39.84) > $Version 1,0091|
[10:47] wnyixn (81.153.39.84) > $GetNickList|
[10:47] wnyixn (81.153.39.84) > $MyINFO $ALL wnyixn mldc client$ $DSL$$  11534336$|
[10:47] x User removed: wnyixn (Socket 308)
[10:47] hugo_fra_tv2? (81.225.83.109) > $UserIP wnyixn|
[10:47] (82.135.28.44) > $Key ?pd?ł#0!?đaq?/%DCN000%/@Ą?Cc?p!v/%DCN005%/Ńe@"W/%DCN096%/?&?đ?WĐ????|
[10:47] (82.135.28.44) > $ValidateNick abewad|
[10:47] abewad (82.135.28.44) > $Version 1,0091|
[10:47] abewad (82.135.28.44) > $GetNickList|
[10:47] abewad (82.135.28.44) > $MyINFO $ALL abewad mldc client$ $DSL$$  11534336$|
[10:47] x User removed: abewad (Socket 308)
[10:47] hugo_fra_tv2? (81.225.83.109) > $UserIP abewad|
[10:47] [HUN]hungaricum (147.229.192.34) > $Search Hub:[HUN]hungaricum F?T?0?1?primus|
[10:47] [HUN]hungaricum (147.229.192.34) > $RevConnectToMe [HUN]hungaricum Nidaros|
[10:47] Nidaros (80.202.30.254) > $ConnectToMe [HUN]hungaricum 80.202.30.254:4012|
[10:47] (69.111.154.210) > $Key ?U"S GWBR??Rňˇňq?/%DCN036%/1CC%?pB/%DCN096%/@@ ?P??7?V!12ƒ|
[10:47] (69.111.154.210) > $ValidateNick jckqkt|
[10:47] jckqkt (69.111.154.210) > $Version 1,0091|
[10:47] jckqkt (69.111.154.210) > $GetNickList|
[10:47] jckqkt (69.111.154.210) > $MyINFO $ALL jckqkt mldc client$ $DSL$$  11534336$|
[10:47] x User removed: jckqkt (Socket 328)
[10:47] hugo_fra_tv2? (81.225.83.109) > $UserIP jckqkt|
[10:47] (67.71.84.9) > $Key v?˛0b? ŕ?uŃ?ŕ'ć?ŕ 1Ŕr R??ŕ&F??ł#g/%DCN000%/uCń?|
[10:47] (67.71.84.9) > $ValidateNick xDonkey_User|
[10:47] xDonkey_User (67.71.84.9) > $Version 1,0091|
[10:47] xDonkey_User (67.71.84.9) > $GetNickList|
[10:47] xDonkey_User (67.71.84.9) > $MyINFO $ALL xDonkey_User mldc client$ $DSL$$  11534336$|
[10:47] x User removed: xDonkey_User (Socket 328)

This has to be stored in ram,  so yes, it stores a lot. Disable that window. (forgot this)
Everything could have been anything else and it would have just as much meaning.

Offline BoJlk

  • Lord
  • ***
  • Posts: 335
  • Karma: +2/-0
(No subject)
« Reply #27 on: 11 November, 2004, 11:35:32 »
well, does it have a *.log file somewhere?

Offline bastya_elvtars

  • Forum God
  • ****
  • Posts: 3 730
  • Karma: +173/-7
  • The rock n' roll doctor
    • The FreshStuff3 Site
(No subject)
« Reply #28 on: 11 November, 2004, 15:12:59 »
Quote
Originally posted by BoJlk
well, does it have a *.log file somewhere?

ptokax is able to log the mainchat only. These commands are not required to log, cause they are plain dc protocol commands. You have notning to do them, the whole function is only good for developing purposes.
Everything could have been anything else and it would have just as much meaning.

Offline BoJlk

  • Lord
  • ***
  • Posts: 335
  • Karma: +2/-0
(No subject)
« Reply #29 on: 11 November, 2004, 16:37:17 »
Okey...good enought for me.

Offline Saivert

  • Junior Member
  • **
  • Posts: 15
  • Karma: +0/-0
Anyone heard of DCH++??
« Reply #30 on: 25 April, 2005, 12:40:47 »
DCH++ is a hubsoft with small memory footprint, and you can extend it with plugins and LUA scripts.
It's evolving to an ADC protocol hubsoft as we speak.
ADC promises better efficiency as the command names are shorter (RCM instead of $RevConnectMe) and all the other things that come with ADC (better search, increased security, CID, etc..).

http://dchpp.digitalbrains.com/

Offline PPK

  • Administrator
  • Emperor
  • *****
  • Posts: 1 478
  • Karma: +209/-22
  • PtokaX developer
(No subject)
« Reply #31 on: 25 April, 2005, 13:02:44 »
Quote
Originally posted by Saivert
ADC promises better efficiency as the command names are shorter (RCM instead of $RevConnectMe)
xRCM mycid targetcid proto TO\n send in UTF-8 (something like 2 bytes per char) instead of $RevConnectToMe mynick targetnick| ... good choice of example how ADC use more badwith :D
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

Offline Saivert

  • Junior Member
  • **
  • Posts: 15
  • Karma: +0/-0
Oh, yes I forgot that.
« Reply #32 on: 27 April, 2005, 13:00:18 »
I know all this, that isn't the real question here. This thread was about the efficiency of the hub software itself, not what data flows through the net (I hate protocol wars). We all know that ADC will takeover anytime soon and that It might require more bandwith. But I don't think that matters becuase the ADC protocol promises so many benefits that it out-weighs the larger connection strings. And who knows, maybe becuase of the larger connections string it requires fewer transactions in order to a simple task as most of the information is sendt in one go, and silly protocol extentions are now a thing of the past.

The internet itself is based on very old technology and would require a overhaul itself (HTTP is connection-less, lacks native session support which forces scripts to use hacks in order to make it happen).

PtokaX forum

Oh, yes I forgot that.
« Reply #32 on: 27 April, 2005, 13:00:18 »