Subject: Re: NetBSD-1.4.2 kernel is slower than 1.4 and 1.4.1
To: Ignatios Souvatzis <is@jocelyn.rhein.de>
From: Inaki Saez <jisaez@sfe.indra.es>
List: port-hp300
Date: 03/29/2000 10:18:04
This is a multi-part message in MIME format.
--------------4E6F65C972832FF4ABDF65C3
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Ignatios Souvatzis wrote:
> 
> On Tue, Mar 28, 2000 at 09:48:00PM +0200, Ignatios Souvatzis wrote:
> > A change that might be related fixes a cache syncronization problem on 68040.
> > This might slow down certain operations, exec would be one of the victims.
> 
> Just looked more carefully:
> 
> - the configure test you report does lots of exec(). A horrible lot of.
> - the exec test tests exec speed, of course.
> - the sh test might well depend on exec() speed a lot
> - the dc test might also depend on exec() speed a lot, if it calls dc ot
>   just execute one command, then executes it again in a loop.
> 
> So a cache problem, or just former cache-not-properly-handled problem, will
> result in something like the observed performance hits.
> 

Both systems use 68040 cpu.

Anyway most of the rest of the tests have a drop of 3% to 5%. I think they
should not have that much performance penalty.


I attach the results files obtained for amiga with kernels compiled by me
using the same options

Regards,
         Inaki.
--------------4E6F65C972832FF4ABDF65C3
Content-Type: application/octet-stream;
 name="byte.result-amiga-1.4.1"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="byte.result-amiga-1.4.1"

CiAgQllURSBVTklYIEJlbmNobWFya3MgKFZlcnNpb24gMy4xMSkKICBTeXN0ZW0gLS0gb3Jp
b24KICBTdGFydCBCZW5jaG1hcmsgUnVuOiBTYXQgTWFyIDI1IDE0OjU1OjI3IENFVCAyMDAw
CiAgIDEgaW50ZXJhY3RpdmUgdXNlcnMuCkRocnlzdG9uZSAyIHdpdGhvdXQgcmVnaXN0ZXIg
dmFyaWFibGVzICAgIDI4MzA1LjQgbHBzICAgKDEwIHNlY3MsIDYgc2FtcGxlcykKRGhyeXN0
b25lIDIgdXNpbmcgcmVnaXN0ZXIgdmFyaWFibGVzICAgICAgMjgyNzkuNCBscHMgICAoMT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jcmlwdHMgKDQgY29uY3VycmVudCkgICAgICAgICAgICAg
ICAgICA1LjAgbHBtICAgKDYwIHNlY3MsIDMgc2FtcGxlcykKU2hlbGwgc2NyaXB0cyAoOCBj
b25jdXJyZW50KSAgICAgICAgICAgICAgICAgIDIuMCBscG0gICAoNjAgc2VjcywgMyBzYW1w
bGVzKQpEYzogc3FydCgyKSB0byA5OSBkZWNpbWFsIHBsYWNlcyAgICAgICAgICAgIDIyNC4z
IGxwbSAgICg2MCBzZWNzLCA2IHNhbXBsZXMpClJlY3Vyc2lvbiBUZXN0LS1Ub3dlciBvZiBI
YW5vaSAgICAgICAgICAgICAgMzc4LjEgbHBzICAgKDEwIHNlY3MsIDYgc2FtcGxlcykKCgog
ICAgICAgICAgICAgICAgICAgICBJTkRFWCBWQUxVRVMgICAgICAgICAgICAKVEVTVCAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBCQVNFTElORSAgICAgUkVTVUxU
ICAgICAgSU5ERVgKCkFyaXRobWV0aWMgVGVzdCAodHlwZSA9IGRvdWJsZSkgICAgICAgICAg
ICAgICAyNTQxLjcgICAgIDMyNjYuNCAgICAgICAgMS4zCkRocnlzdG9uZSAyIHdpdGhvdXQg
cmVnaXN0ZXIgdmFyaWFibGVzICAgICAgIDIyMzY2LjMgICAgMjgzMDUuNCAgICAgICAgMS4z
CkV4ZWNsIFRocm91Z2hwdXQgVGVzdCAgICAgICAgICAgICAgICAgICAgICAgICAgIDE2LjUg
ICAgICAgIDUuMSAgICAgICAgMC4zCkZpbGUgQ29weSAgKDMwIHNlY29uZHMpICAgICAgICAg
ICAgICAgICAgICAgICAgMTc5LjAgICAgICA0NTMuMCAgICAgICAgMi41ClBpcGUtYmFzZWQg
Q29udGV4dCBTd2l0Y2hpbmcgVGVzdCAgICAgICAgICAgICAxMzE4LjUgICAgICA3NTQuNyAg
ICAgICAgMC42ClNoZWxsIHNjcmlwdHMgKDggY29uY3VycmVudCkgICAgICAgICAgICAgICAg
ICAgICA0LjAgICAgICAgIDIuMCAgICAgICAgMC41CiAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPT09PT09PT09CiAg
ICAgU1VNIG9mICA2IGl0ZW1zICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgNi41CiAgICAgQVZFUkFHRSAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgMS4xCg==
--------------4E6F65C972832FF4ABDF65C3
Content-Type: application/octet-stream;
 name="byte.result-amiga-1.4.2"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="byte.result-amiga-1.4.2"

CiAgQllURSBVTklYIEJlbmNobWFya3MgKFZlcnNpb24gMy4xMSkKICBTeXN0ZW0gLS0gb3Jp
b24KICBTdGFydCBCZW5jaG1hcmsgUnVuOiBTYXQgTWFyIDI1IDE3OjM4OjQyIENFVCAyMDAw
CiAgIDEgaW50ZXJhY3RpdmUgdXNlcnMuCkRocnlzdG9uZSAyIHdpdGhvdXQgcmVnaXN0ZXIg
dmFyaWFibGVzICAgIDI3NDc2LjggbHBzICAgKDEwIHNlY3MsIDYgc2FtcGxlcykKRGhyeXN0
b25lIDIgdXNpbmcgcmVnaXN0ZXIgdmFyaWFibGVzICAgICAgMjc0ODEuMiBscHMgICAoMTAg
c2VjcywgNiBzYW1wbGVzKQpBcml0aG1ldGljIFRlc3QgKHR5cGUgPSBhcml0aG9oKSAgICAg
ICAgICA2MTM2My4zIGxwcyAgICgxMCBzZWNzLCA2IHNhbXBsZXMpCkFyaXRobWV0aWMgVGVz
dCAodHlwZSA9IHJlZ2lzdGVyKSAgICAgICAgICAzMzYxLjUgbHBzICAgKDEwIHNlY3MsIDYg
c2FtcGxlcykKQXJpdGhtZXRpYyBUZXN0ICh0eXBlID0gc2hvcnQpICAgICAgICAgICAgIDM3
MzQuMSBscHMgICAoMTA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zdC0tVG93ZXIgb2Yg
SGFub2kgICAgICAgICAgICAgIDM2Ny4xIGxwcyAgICgxMCBzZWNzLCA2IHNhbXBsZXMpCgoK
ICAgICAgICAgICAgICAgICAgICAgSU5ERVggVkFMVUVTICAgICAgICAgICAgClRFU1QgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgQkFTRUxJTkUgICAgIFJFU1VM
VCAgICAgIElOREVYCgpBcml0aG1ldGljIFRlc3QgKHR5cGUgPSBkb3VibGUpICAgICAgICAg
ICAgICAgMjU0MS43ICAgICAzMTc3LjggICAgICAgIDEuMwpEaHJ5c3RvbmUgMiB3aXRob3V0
IHJlZ2lzdGVyIHZhcmlhYmxlcyAgICAgICAyMjM2Ni4zICAgIDI3NDc2LjggICAgICAgIDEu
MgpFeGVjbCBUaHJvdWdocHV0IFRlc3QgICAgICAgICAgICAgICAgICAgICAgICAgICAxNi41
ICAgICAgICAyLjAgICAgICAgIDAuMQpGaWxlIENvcHkgICgzMCBzZWNvbmRzKSAgICAgICAg
ICAgICAgICAgICAgICAgIDE3OS4wICAgICAgNDUxLjAgICAgICAgIDIuNQpQaXBlLWJhc2Vk
IENvbnRleHQgU3dpdGNoaW5nIFRlc3QgICAgICAgICAgICAgMTMxOC41ICAgICAgNzEzLjgg
ICAgICAgIDAuNQpTaGVsbCBzY3JpcHRzICg4IGNvbmN1cnJlbnQpICAgICAgICAgICAgICAg
ICAgICAgNC4wICAgICAgICAxLjAgICAgICAgIDAuMgogICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgID09PT09PT09PQog
ICAgIFNVTSBvZiAgNiBpdGVtcyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgIDUuOQogICAgIEFWRVJBR0UgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDEuMAo=
--------------4E6F65C972832FF4ABDF65C3--