• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Memory Management
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Memory Management


  • Subject: Re: Memory Management
  • From: Andrew Lindesay <email@hidden>
  • Date: Tue, 3 Mar 2009 10:18:28 +1300

Hello Chuck;

A big part of slowing-down with saturated object stores is that as there are more and more EO's in memory it takes longer and longer for fetches to be processed because as the system ensures uniqueness, it will have to keep checking to see if it already has each new row of data in memory already.

That does not sound right to me. It is a hashed lookup so it should be O(1). Unless the hashing function is bad and there are a lot of collisions, the lookup time should not vary greatly with the number of snapshots on hand.

I don't have the source code so I can't tell. Maybe the buckets are quite large; I don't know. What I do know is that when I do a long- run operation with the same EC and no "tricks", the thread seems to spend a sizable percentage of the time comparing snapshots -- presumably for facilitating uniquing.


cheers.


___ Andrew Lindesay www.lindesay.co.nz

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Memory Management
      • From: Chuck Hill <email@hidden>
References: 
 >Re: Memory Management (From: Jeff Schmitz <email@hidden>)
 >Re: Memory Management (From: Andrew Lindesay <email@hidden>)
 >Re: Memory Management (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Owns Destination & Deny
  • Next by Date: Re: Memory Management (or rather documenting thereof...)
  • Previous by thread: Re: Memory Management
  • Next by thread: Re: Memory Management
  • Index(es):
    • Date
    • Thread