Gnutella Forums  

Go Back   Gnutella Forums > Discontinued Gnutella Client Forums > XoloX (Windows) > Support: General
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

Support: General General support discussions and announcements. XoloX has been discontinued. We highly recommend you use an actively developed client instead.


 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old September 7th, 2001
Panthera Onca
 
Join Date: September 7th, 2001
Location: CA
Posts: 238
The Seeker is flying high
Exclamation Excessive threads

I shared 192 folders, with 277 files. (I shared the compaq recovery drive, lots of folders with one or two files.)

Threads:
XoloX uses 1 thread (temporarily) for indexing, 1 thread (also temporarily) for writing changes to the files, 5 threads for interface, web integration, main program execution, etc, plus one thread per shared directory and sub directory. So the more organized you are with your archiving, the more threads it's going to use. :P What's worse, is that every time there is a change to a directory (If you add or delete a file, or complete a download) XoloX kills ALL the threads then opens them up again, rebuilding the index for the directory that changed. So the less organized you are with your archiving the longer it will take upon modifying a directory. :P

XoloX terminates the threads for directories that are unshared while running.

Memory usage:
pending further re-investigation for v1.11 ...


Utilities used:
Sysmon -- Comes with windows, check Programs -> Accessories -> System Tools.
Another Task Manager -- http://atm.rm.it (you can use taskman in Win2K/XP)
Ollydbg -- http://home.t-online.de/home/Ollydbg

Last edited by The Seeker; September 7th, 2001 at 11:17 PM.
  #2 (permalink)  
Old September 8th, 2001
XoloX Developer
 
Join Date: September 6th, 2001
Posts: 43
Pasman is flying high
Default

Hi Seeker,

Thanks for doing research on this topic.
In the next version we will eliminate those threads per directory..

Thanks again,

Greets,
Pasman
  #3 (permalink)  
Old September 8th, 2001
Panthera Onca
 
Join Date: September 7th, 2001
Location: CA
Posts: 238
The Seeker is flying high
Default Memory Usage

In my original "excessive threads" report (for 2.09) XoloX consumed memory while indexing at a rate of aprox 1 MB per thread. (or maybe .5 as I think Sysmon is broken, reporting disk cache usage when there is none.) With 1 thread being created per (sub)directory shared, this can add up rather quickly.

There may have been a leak in 1.09 in the CRC code which did not release RAM after allocating it for another file where one didn't exist in the directory.
Code:
DO 
  DO
    Allocate memory.
    Check to see if there is another file to index.
    If yes then
      CRC check and index file
      Free memory
    Else Exit DO
    End IF
  LOOP
  If another directory then
    Move to next directory
  Else exit DO
  End IF
LOOP

Instead of:

DO 
  DO
    Check to see if there is another file to index.
    If yes then
      Allocate memory.
      CRC check and index file
      Free memory
    Else exit DO
    End IF
  LOOP
  If another directory then
    Move to next directory
  Else exit DO
  End IF
LOOP
I say this becaues of how evenly the memory usage matched my shared folders as opposed to my shared files.

In 1.11 indexing the same 192 folders now uses ~3 MB of RAM, probably because CRC checking as been taken out. When folders are unshared, the memory used is freed properly. I think users will have a much better experience with this version.

More tests to follow.
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excessive memory use sciurius Gtk-Gnutella (Linux/Unix/Mac OSX/Windows) 0 February 28th, 2007 02:07 AM
Excessive Download? reel_gee Download/Upload Problems 0 December 17th, 2005 04:07 PM
excessive memory usage? homunculus General Windows Support 0 February 26th, 2005 05:30 PM
Limewire 2.1.3 -- Excessive CPU use and forgetful number of connections moxen General Windows Support 1 February 2nd, 2002 07:36 PM
Downloading while paused and excessive connecitons.. The Seeker Support: General 4 September 14th, 2001 03:28 PM


All times are GMT -7. The time now is 03:30 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.