|
From: Nicholas N. <nj...@cs...> - 2005-08-10 13:16:46
|
On Wed, 10 Aug 2005, ne...@we... wrote: > I recorded the amount of Stack-Memory of my simple HTTP-Server. > Unfortunally I can't send the grafic file as Attachement, so I hope, > that everybody understand my ascii-pic. The 2 peaks are caused by > receiving 2 Requests of a client. Im confused by the fackt, thats till > the first Response is arrived, the band is grow up so straight. Is that > a kind of interpolation? Is the value between the these two peaks a > relevant value for the amount of stack-memory-usage? I know the time > range of the record is quite short. But I also tryed to record for a > longer time, but is with the same result of a constant increasing graph > till the first peak and a constant rising graph after the last peak. In > my Opinion it cant be right. Whats the reason for? > > 100 kb > > | |__| > | / \ > | / \ > | / \ Stack only! > |/ \ > |_______\___ 10 sec. Stack allocation is caused by pushing stack frames when entering functions. Your program is presumably calling a number of functions as it receives requests. This doesn't look unusual. And it's only 100kb, which is not very much. N |