📄 node243.html
字号:
<html><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><!--Converted with jLaTeX2HTML 2002 (1.62) JA patch-1.4patched version by: Kenshi Muto, Debian Project.LaTeX2HTML 2002 (1.62),original version by: Nikos Drakos, CBLU, University of Leeds* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan* with significant contributions from: Jens Lippmann, Marek Rouchal, Martin Wilck and others --><HTML><HEAD><TITLE>21.4.3 Some statistics collected by dmalloc</TITLE><META NAME="description" CONTENT="21.4.3 Some statistics collected by dmalloc"><META NAME="keywords" CONTENT="everything"><META NAME="resource-type" CONTENT="document"><META NAME="distribution" CONTENT="global"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"><META NAME="Generator" CONTENT="jLaTeX2HTML v2002 JA patch-1.4"><META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"><LINK REL="STYLESHEET" HREF="everything.css" tppabs="http://www.isi.edu/nsnam/ns/doc/everything.css"><LINK REL="previous" HREF="node242.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node242.html"><LINK REL="up" HREF="node240.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node240.html"><LINK REL="next" HREF="node244.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node244.html"></HEAD><BODY ><!--Navigation Panel--><A NAME="tex2html5030" HREF="node244.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node244.html"><IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="file:/usr/share/latex2html/icons/next.png"></A> <A NAME="tex2html5024" HREF="node240.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node240.html"><IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="file:/usr/share/latex2html/icons/up.png"></A> <A NAME="tex2html5020" HREF="node242.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node242.html"><IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="file:/usr/share/latex2html/icons/prev.png"></A> <A NAME="tex2html5026" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html"><IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="file:/usr/share/latex2html/icons/contents.png"></A> <A NAME="tex2html5028" HREF="node590.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node590.html"><IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="file:/usr/share/latex2html/icons/index.png"></A> <BR><B> Next:</B> <A NAME="tex2html5031" HREF="node244.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node244.html">21.5 Memory Leaks</A><B> Up:</B> <A NAME="tex2html5025" HREF="node240.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node240.html">21.4 Memory Debugging</A><B> Previous:</B> <A NAME="tex2html5021" HREF="node242.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node242.html">21.4.2 Memory Conservation Tips</A>   <B> <A NAME="tex2html5027" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html">Contents</A></B>   <B> <A NAME="tex2html5029" HREF="node590.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node590.html">Index</A></B> <BR><BR><!--End of Navigation Panel--><H2><A NAME="SECTION04143000000000000000"></A><A NAME="sec:statdmalloc"></A><BR>21.4.3 Some statistics collected by dmalloc</H2><P>A memory consumption problem occured in recent simulations (cmcast-[150,200,250].tcl), so we decided to take a closer look at scalingissue. See page http://www-mash.cs.berkeley.edu/ns/ns-scaling.htmlwhich demostrates the efforts in finding the bottlneck. <P>The following table summarises the results of investigating thebottleneck:<BR><BR><DIV ALIGN="CENTER"><TABLE CELLPADDING=3 BORDER="1" ALIGN="CENTER"><TR><TD ALIGN="CENTER"><EM>KBytes</EM></TD><TD ALIGN="CENTER"><EM>cmcast-50.tcl(217 Links)</EM></TD><TD ALIGN="CENTER"><EM>cmcast-100.tcl(950 Links)</EM></TD></TR><TR><TD ALIGN="CENTER">trace-all</TD><TD ALIGN="CENTER">8,084</TD><TD ALIGN="CENTER">28,541</TD></TR><TR><TD ALIGN="CENTER">turn off trace-all</TD><TD ALIGN="CENTER">5,095</TD><TD ALIGN="CENTER">15,465</TD></TR><TR><TD ALIGN="CENTER">use array</TD><TD ALIGN="CENTER">5,091</TD><TD ALIGN="CENTER">15,459</TD></TR><TR><TD ALIGN="CENTER">remove unnecessay variables</TD><TD ALIGN="CENTER">5,087</TD><TD ALIGN="CENTER">15,451</TD></TR><TR><TD ALIGN="CENTER">on SunOS</TD><TD ALIGN="CENTER">5,105</TD><TD ALIGN="CENTER">15,484</TD></TR></TABLE></DIV><BR><P><BR><HR><ADDRESS>2003-09-23</ADDRESS></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -