Skip to contentSkip to conversation

Value of TASK_UNMAPPED_SIZE on 2.4

DISCUSSION Kai Harrekilde-Petersen 3 participants 4 messages Nov 3, 2000 – Nov 20, 2000 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 9 lines · Andrea Arcangeli
Quoted 1 line · Josue Emmanuel Amaro

(page.h). This works out to be a value of 0x4000000.

^ one more zero here

Quoted 1 line

Are there any negative side effects in defining TASK_UNMAPPED_SIZE to 0x1000000?

I guess you mean 0x10000000. There's no risk in doing that. I also did another patch that moves the kernel away and allows 3.5G per process on IA32 via plain mmap or shmat, but it has the downside of reducing a lot the ZONE_NORMAL where on IA32 buffercache and skb still lives.

Is this available as a patch, or preferably as a compilation option to the standard kernel?

The ASIC tools that we use wants all the memory they can grab, and the extra few hundred megs can sometimes be _very_ critical. On Solaris, Synopsys' Design Compiler can allocate 3.8Gig and we've hit that limit hard when working with toplevel netlists and SDF databases.

Thanks in advance,

Kai

Signature · 5 lines
Kai Harrekilde-Petersen
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#2 lore raw
In reply to a message not in the archive
Quoted 1 line · Kai Harrekilde-Petersen

Is this available as a patch, or preferably as a compilation option to

They're available here:

	ftp://ftp.us.kernel.org/pub/linux/kernel/people/andrea/patches/v2.2/2.2.14/bigmem-large-mapping-1.bz2
	ftp://ftp.us.kernel.org/pub/linux/kernel/people/andrea/patches/v2.2/2.2.14/bigmem-large-task-1.bz2

But they're against 2.2.x + bigmem. The first one is still valid (and it's similar to the one discussed here). The second one doesn't apply to 2.4.x and both vmlinux.lds and PAGE_OFFSET should be changed that way to make it to work there.

Andrea
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#3 lore raw
In reply to a message not in the archive

Andrea,

We will give it a try.

How difficult would it be to move that patch to 2.4?

It would be great if it could be a kernel configuration time option.

Regards,

Quoted 13 lines · Andrea Arcangeli
Quoted 1 line · Kai Harrekilde-Petersen

Is this available as a patch, or preferably as a compilation option to

They're available here:

        ftp://ftp.us.kernel.org/pub/linux/kernel/people/andrea/patches/v2.2/2.2.14/bigmem-large-mapping-1.bz2
        ftp://ftp.us.kernel.org/pub/linux/kernel/people/andrea/patches/v2.2/2.2.14/bigmem-large-task-1.bz2

But they're against 2.2.x + bigmem. The first one is still valid (and it's similar to the one discussed here). The second one doesn't apply to 2.4.x and both vmlinux.lds and PAGE_OFFSET should be changed that way to make it to work there.

Quoted 5 lines

Andrea
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

--
=======================================================================

  Josue Emmanuel Amaro                         [email protected]
  Linux Products Manager                       Phone:   650.506.1239
  Intel and Linux Technologies Group           Fax:     650.413.0167

=======================================================================

begin:vcard
n:Amaro;Josue Emmanuel
tel;cell:650-245-5131
tel;fax:650-413-0167
tel;work:650-506-1239
x-mozilla-html:FALSE
url:http://www.oracle.com
org:Intel and Linux Technologies
version:2.1
email;internet:[email protected]
title:Sr.Product Manager - Linux
adr;quoted-printable:;;500 Oracle Parkway=0D=0AMS1ip4;Redwood Shores;CA;94065;United States fn:Josue Emmanuel Amaro
end:vcard

#4 lore raw
In reply to a message not in the archive
Quoted 5 lines · Josue Emmanuel Amaro

Andrea,

We will give it a try.

How difficult would it be to move that patch to 2.4?

I moved it to 2.4.0-test11-pre5 (should work with pre7 too):

	ftp://ftp.us.kernel.org/pub/linux/kernel/people/andrea/patches/v2.4/2.4.0-test11-pre5/per-process-3.5G-IA32-no-PAE-1

It won't work with PAE enabled though (64G option). Making it to work with PAE enabled isn't much more complicated and I'll address that later (but in the meantime you can use it on <= 4GB RAM machines).

Andrea
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/