Chunk release and allocate problem of Squid.

From: maer <eyou_maer@dont-contact.us>
Date: 6 Sep 2002 16:09:59 +0800

Hi, everyone!

Such is my view about chunk release and allocate of
Squid, that is, when a chunk is marked unuse in
a process (maybe by free), it is not released to the system (OS) immediately.

On the contrary, when the number of the unused chunks is
large enough, then all of the unused chunks is released to system (OS)
altogether.

Am I correct?

I still have a question. Suppose in a case, when process P has
freed a chunk M, but M has not released to system (OS)
yet. Then process P is going to allocate another chunk. Can the
new chunk use the space of chunk M?
If it is so, I think it is more faster and efficient to use memory
this way than to allocate a memory block directly from memory.
Is that so?

Cheers,
George

--http://www.eyou.com
--稳定可靠的免费电子信箱 语音邮件 移动书签 日历服务 网络存储...亿邮未尽
Received on Fri Sep 06 2002 - 02:15:12 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:16:27 MST