mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ilya <khext@mail.ru>
To: linux-kernel@vger.kernel.org, khext@mail.ru
Subject: PAE bug in 2.4?!
Date: Wed, 02 Nov 2005 18:49:55 +0300	[thread overview]
Message-ID: <1130946595.4434.20.camel@localhost.localdomain> (raw)

[-- Attachment #1: Type: text/plain, Size: 3033 bytes --]

Hi,

I've ASUS P4P800-Mx-EAYVZ motherboard and have to use a 2GB memory. But
after including PAE support in kernel it almost twice... Surely, i
understand, that it's inevitable, the slowing of PAE, but twice?! Does
anybody faced this problem? Or is there some bug in PAE?! I tested the
PAE at some other motherboards, but only on this model on asus it works
strange) 

Best rgds, Ilya

Below, you can find some usefull info about this situation.

Cpu info:
khext@al:~$ cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 2
model name      : Intel(R) Celeron(R) CPU 2.40GHz
stepping        : 9
cpu MHz         : 2400.156
cache size      : 128 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid
bogomips        : 4784.12

Here is the difference in kernels:
khext@al:~$ diff linux-2.4.31/.config linux-2.4.31-PAE/.config
61,62c61,62
< CONFIG_NOHIGHMEM=y
< # CONFIG_HIGHMEM4G is not set
---
> # CONFIG_NOHIGHMEM is not set
> CONFIG_HIGHMEM4G=y
64c64,65
< # CONFIG_HIGHMEM is not set
---
> CONFIG_HIGHMEM=y
> CONFIG_HIGHIO=y

Here is my test:
khext@al:~$ cat pl
for ($j=1;$j<5;$j++){
$num=250000*$j;
$a="";
for ($i=0; $i<$num/72; $i++) {
        $a.='1234567890qwertyuiopasdfghjklzxcvbnm';
        $a.='1234567890QWERTYUIOPASDFGHJKLZXCVBNM';
}
printf ("len=".length($a)."\n");
$b="";
$k=345345342;
for ($i=0; $i<1000000; $i++) {
        $k*=34523;
        $k%=$num;
        $k=abs($k);
        $b.=substr(substr($a, $k, 4097),$k%4097,1);
}
printf ("b=".length($b)."\n");
printf (substr($b, 10, 5)."\n");
}

Test themselfs...
With PAE turned on:

khext@al:~$ uname -a
Linux al 2.4.31 #25 SMP Wed Nov 2 19:05:47 MSK 2005 i686 GNU/Linux
khext@al:~$ free
             total       used       free     shared    buffers
cached
Mem:       2059812      30656    2029156          0       2512
9744
-/+ buffers/cache:      18400    2041412
Swap:      4883720          0    4883720
khext@al:~$ time perl pl
len=250056
b=991920
xPnx7
len=500040
b=996000
SqnSb
len=750024
b=997280
e2ux7
len=1000008
b=997960
SLuSb

real    0m33.436s
user    0m33.210s
sys     0m0.220s

With PAE turned off:
khext@al:~$ uname -a
Linux al 2.4.31 #25 SMP Wed Nov 2 19:00:05 MSK 2005 i686 GNU/Linux
khext@al:~$ free
             total       used       free     shared    buffers
cached
Mem:        903880      27640     876240          0       2492
9756
-/+ buffers/cache:      15392     888488
Swap:      4883720          0    4883720

khext@al:~$ time perl pl
len=250056
b=991920
xPnx7
len=500040
b=996000
SqnSb
len=750024
b=997280
e2ux7
len=1000008
b=997960
SLuSb

real    0m17.208s
user    0m16.780s
sys     0m0.430s


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2005-11-02 15:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-02 15:49 Ilya [this message]
2005-11-02 17:42 ` Sergey Vlasov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1130946595.4434.20.camel@localhost.localdomain \
    --to=khext@mail.ru \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®