[ros-kernel] Compile ros-on-ros
Hartmut Birr
Hartmut.Birr at gmx.de
Thu May 20 11:36:17 CEST 2004
Hi,
my minimal configuration for compiling ros on ros is 48Mb ram and 32Mb swap
without c++ (explorer) and 64Mb ram and 32Mb swap with c++. The default size
of the page file is 2MB. But I think you use a larger page file. Currently
there exist a problem within the handling of swap pages. If the memory runs
in an low memory situation all swap pages are assigned to real memory pages.
Currently it is not possible to move an swap page from a ram page, which is
frequently used, to a page without a swap page and which is not used. The
second problem is the implementation of our cache manager. If the section
file alignment is lower than a page, Ros needs some pages for caching and
some other pages for the section. The third problem is the relocation of
system dlls (gdi.dll). Each process needs its one copy of a relocated dll.
The pages cannot be shared between the cache and the processes. All this
private pages consumes memory and swap space.
- Hartmut
> -----Original Message-----
> From: ros-kernel-bounces at reactos.com
> [mailto:ros-kernel-bounces at reactos.com] On Behalf Of Gunnar Dalsnes
> Sent: Wednesday, May 19, 2004 12:08 PM
> To: 'ReactOS Kernel List'
> Subject: [ros-kernel] Compile ros-on-ros
>
>
> When trying to compile ros-on-ros i get this (in Vmware with
> 68mb ram):
>
> (KERNEL32:mem/global.c:413) Memory Load: 73
> (ex/sysinfo.c:825) SystemFullMemoryInformation
> PID: 1, KernelTime: 0 PFFree: 50 PFUsed: 0
> MC_CACHE 7584, MC_USER 2458, MC_PPOOL 89, MC_NPPOOL 2456,
> MiNrAvailablePages 4547
> (KERNEL32:mem/global.c:413) Memory Load: 73
> (NTDLL:ldr/utils.c:2119) Relocating (77ed0000 -> 62a000)
> C:\reactos\system32\gdi32.dll
> (mm/pagefile.c:132) MM: Out of swap space.
>
> Is this normal? Do i have to increase the swap-file?
>
> The compile process stopped when compiling ntoskrnl. When i
> looked into the ntoskrnl folder i suddenly had 979 files
> (about 600-700 bytes each) named dfxbs00000.o, dfxbs00001.o,
> dfxbs00002.o etc. Hmmm...
>
> -Gunnar
>
>
>
> _______________________________________________
> Ros-kernel mailing list
> Ros-kernel at reactos.com http://reactos.com/mailman/listinfo/ros-kernel
>
More information about the Ros-kernel
mailing list