Skip to contentSkip to conversation

Is it possible to use 8K page size on a i386 pc?

DISCUSSION Pete Zaitcev 2 participants 2 messages Aug 27, 2002 – Aug 28, 2002 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 6 lines

[...]
I just wonder how PAGE_SIZE in determined in each architecture? Is it possible to use 8k or bigger page size in a i386 PC?

Thanks,
Xiangping

You may run into trouble with something that calls mmap with a fixed address, with executables which have text sizes of odd number of small pages. I was told that these problems are fairly rare.

Running a bigger page size does nothing to help your TLB coverage, but it might improve paging performance (or it might not).

-- Pete

#2 lore raw
Followup to:  <[email protected]>
By author:    Pete Zaitcev <[email protected]>
In newsgroup: linux.dev.kernel
Quoted 6 lines

You may run into trouble with something that calls mmap with a fixed address, with executables which have text sizes of odd number of small pages. I was told that these problems are fairly rare.

Only 50% of all binaries are affected... that's fairly rare :)

-hpa

Signature · 3 lines
<[email protected]> at work, <[email protected]> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt	<[email protected]>