|
From: <ne...@we...> - 2005-08-10 07:49:34
|
hello valgrind-users, I recorded the amount of Stack-Memory of my simple HTTP-Server. Unfortunal= ly 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 arri= ved, the band is grow up so straight. Is that a kind of interpolation=3F Is = the value between the these two peaks a relevant value for the amount of s= tack-memory-usage=3F 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 grap= h after the last peak. In my Opinion it cant be right. Whats the reason fo= r=3F=20 thanks in advanced andr=E9 100 kb | |=5F=5F| | / \ | / \ | / \ Stack only! |/ \ |=5F=5F=5F=5F=5F=5F=5F\=5F=5F=5F 10 sec. =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min. weltweit telefonieren! http://freephone.web.de/=3Fmc=3D021201 |
|
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 |