Re: Mersenne: mprime, linux and 2 MB pages

2002-03-19 Thread Nick Craig-Wood
On Mon, Mar 18, 2002 at 02:12:48PM +, Brian J. Beesley wrote: On Monday 18 March 2002 10:21, Nick Craig-Wood wrote: There has been some discussion on the linux kernel mailing list about providing 2 MB pages (instead of 4kB ones) to user space for the use of database or scientific

Re: Mersenne: mprime, linux and 2 MB pages

2002-03-19 Thread Brian J. Beesley
On Tuesday 19 March 2002 10:09, Nick Craig-Wood wrote: On Mon, Mar 18, 2002 at 02:12:48PM +, Brian J. Beesley wrote: If the active data is already memory resident, TLB thrashing is not going to be an issue. The TLB (translation lookaside buffer) has very little to do with the

Re: Mersenne: mprime, linux and 2 MB pages

2002-03-19 Thread Nick Craig-Wood
On Tue, Mar 19, 2002 at 08:11:54PM +, Brian J. Beesley wrote: Ah, but ... frequently accessing pages (virtual _or_ physical) will keep the TLB pages from getting too far away from the processor; probably at worst they will stay in the L1 cache. Yes. The overhead of accessing from L1

Mersenne: mprime, linux and 2 MB pages

2002-03-18 Thread Nick Craig-Wood
There has been some discussion on the linux kernel mailing list about providing 2 MB pages (instead of 4kB ones) to user space for the use of database or scientific calculations. It seems to me that prime95/mprime would benefit from this enormously - it should reduce the TLB thrashing to

Re: Mersenne: mprime, linux and 2 MB pages

2002-03-18 Thread Brian J. Beesley
On Monday 18 March 2002 10:21, Nick Craig-Wood wrote: There has been some discussion on the linux kernel mailing list about providing 2 MB pages (instead of 4kB ones) to user space for the use of database or scientific calculations. It seems to me that prime95/mprime would benefit from this