From: "chandrasekhar nagaraj" <chandrasekhar_n@hotmail.com>
To: linux-kernel@vger.kernel.org
Subject: Preallocation of memory in 2.4 kernels
Date: Fri, 13 Aug 2004 23:41:35 +0530 [thread overview]
Message-ID: <BAY17-F222koAUaQMni0003849e@hotmail.com> (raw)
Hi,
We have a block driver which operates under heavy IO load.The driver
always preallocates the memory for IO so that while IO is going ,it can take
the required memory from the pool.(for performance reasons,we preallocate
the memory).
But we do have some small chunks of memory allocation (say close to 4K) when
the IO is in operation.(to update the stats,we require this memory).But
under heavy load conditions,the kmalloc fails to get even this small chunk
of data.
We felt that we could preallocate some 64K of memory pool(before the IO
starts) and then when this kind of small memory request comes (note that
this request size is variable) , we would use this memory pool instead of
using the kmalloc.
Is there any mechanism in 2.4 kernels to achieve this task.?
Regards
Chandrasekhar
_________________________________________________________________
Block annoying pop ups! Empower your search!
http://server1.msn.co.in/features04/general/MSNToolbar Enrich your internet
experience!
next reply other threads:[~2004-08-13 18:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-13 18:11 chandrasekhar nagaraj [this message]
2004-08-13 22:09 ` Alan Cox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BAY17-F222koAUaQMni0003849e@hotmail.com \
--to=chandrasekhar_n@hotmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®