Bug 534 - Reduce memory footprint of IORs and other ORB data structures
Summary: Reduce memory footprint of IORs and other ORB data structures
Status: ASSIGNED
Alias: None
Product: TAO
Classification: Unclassified
Component: ORB (show other bugs)
Version: 1.1
Hardware: All All
: P3 enhancement
Assignee: DOC Center Support List (internal)
URL:
Depends on:
Blocks:
 
Reported: 2000-04-10 17:05 CDT by Carlos O'Ryan
Modified: 2000-04-18 10:14 CDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos O'Ryan 2000-04-10 17:05:51 CDT
Object References in TAO cache multiple strings, such as the interface
repository ID, the host of the server, etc.
Many of those strings are duplicated in multiple object references. It would be
nice to cache them in a global string dictionary (with reference counted
entries?) to minimize the footprint.
Similarly the ObjectKey and the Tagged Components are also stored multiple
times. This is another big source of run-time memory comsumption.  I think
we could also apply the dictionary trick, but this time it would be a dictionary
of octet sequences.
In both cases we may want to use a smart pointer that implements copy-on-write
semantics, and reference counting.
Comment 1 Ossama Othman 2000-04-10 17:11:59 CDT
*** Bug 455 has been marked as a duplicate of this bug. ***
Comment 2 Ossama Othman 2000-04-10 18:40:59 CDT
I think that we should bump up the priority on this enhancement.  I just got
done corresponding with a TAO user who plans on using TAO on a machine with a
couple of hundred logical network interfaces (Solaris 2.6 and above allow up to
1000 interfaces!).  Now that TAO takes advantage of endpoints created during a
wildcarded bind(), TAO may create a profile for endpoints created on each probed
network interface, including the logical ones.  TAO can handle this but it will
require alot of memory to do so.  The memory footprint reductions Carlos
suggested would certainly help out in the presence of a large number of probed
network interfaces.
Comment 3 levine 2000-04-18 07:47:59 CDT
Bugzilla is pinging about this.
Comment 4 Carlos O'Ryan 2000-04-18 10:14:59 CDT
Another reminder for things that i don't have the time to work on.
Comment 5 Carlos O'Ryan 2000-04-18 10:14:59 CDT
Save it in the tao-support tarpit.