Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #5958
| From | Richard Heathfield <rjh@cpax.org.uk> |
|---|---|
| Newsgroups | comp.programming |
| Subject | Re: Capacity planning... |
| Date | 2015-10-28 21:29 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <n0reki$ip3$1@dont-email.me> (permalink) |
| References | <n0re83$hvq$1@dont-email.me> |
On 29/10/15 00:23, Ramine wrote: > > Richard Heathfield have wrote about the constructor of my > scalable distributed reader-writer mutex this > > > >Okay, so if there isn't enough memory, either it throws an error, in > >which case the program aborts unexpectedly (I see no "catch" code > >here), or it scribbles all over memory it doesn't own. > >Neither option looks good from over here. > > > You have to know that to ensure a good level of security in QOS > you have to do a kind of capacity planning , since i am > using many threads, so you have to limit the memory consumption to a > certain good level of security , and you have to do it like by > calculating how much each thread does consume of memory and how much > your overall application does consume of memory, and like > in capacity planning you have to calculate that for all > your applications that are running on the server or computer > to ensure, like in realtime systems, a good level of security. > So as you have noticed this is the write way to do it. No, that isn't what I noticed. I noticed that the program either aborts unexpectedly or scribbles all over memory it doesn't own. It isn't clear which of those applies, but it does seem that one or the other must happen. -- Richard Heathfield Email: rjh at cpax dot org dot uk "Usenet is a strange place" - dmr 29 July 1999 Sig line 4 vacant - apply within
Back to comp.programming | Previous | Next — Next in thread | Find similar | Unroll thread
Re: Capacity planning... Richard Heathfield <rjh@cpax.org.uk> - 2015-10-28 21:29 +0000 Re: Capacity planning... Richard Heathfield <rjh@cpax.org.uk> - 2015-10-28 21:43 +0000
csiph-web