<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title></title>
</head>
<body>
Hi all,<br />
<br />
first of all thank you Christian for the quick bugfix concerning
the dde/usb makefile.<br />
<br />
This time, I have a question related to the allocation of memory
during system startup. At the moment, I'm just working with
qemu/ l4ka-pistachio, and I've noticed that the initial memory
allcation ("Trying to allocate 4K pages from sigma0")
requests over 100MB, and this allocation takes about 3 seconds on
my machine (without kqemu acceleration).<br />
<br />
In core/platform.cc I saw, that you ask sigma0 for the entire
amount of memory it has concerning this page size and that you also
memset the returned memory to zero.<br />
<br />
When playing around with that, I saw that omitting the zeroing does
not seem to have any impact on the running system (I only have a
dde driver running...).<br />
<br />
I also saw that I may - for a start - limit the memory allocation
to a much smaller size. This involved a much better startup
performance.<br />
<br />
So I wonder why the zeroing is needed, and I'd like to know if
your memory management allowed for subsequent allocations from
sigma0, so that I could save some startup time and allocate the
remaining memory later.<br />
<br />
(Is this question - from your point of view - worth the
investigation at all? Or is the delay only related to my slow qemu
having no impact on an average hardware?)<br />
<br />
Thanx in advance<br />
<br />
Sven<br />
<br />
<div>
--<br />
Sven Fülster<br />
</div>
</body>
</html>