Bug #402

est.c table patch

Added by qhwt+dfly about 8 years ago. Updated over 7 years ago.

Status:ClosedStart date:
Priority:LowDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

Hello.
Attached is a patch to add some tables to the current EST driver that
I'm intending to commit in a few days if it doesn't hurt anyone. It's
based on the patches posted to kernel@ (but as before, I'm not going
to replace the original ones as I'm not sure if there's CPU model which
does work with the original table).

http://les.ath.cx/DragonFly/est.c.patch

Regards.

est.c.patch Magnifier (3.83 KB) qhwt+dfly, 12/12/2006 03:08 PM

est.c.patch Magnifier (3.76 KB) qhwt+dfly, 12/17/2006 07:02 AM

History

#1 Updated by victor about 8 years ago

Hi,
the attached patch does not compile. The problem is that you replaced
pentium_m_n770 instead of adding a new pentium_m_n770_2.

I've got the tables from FreeBSD, so it's not my work.

#2 Updated by qhwt+dfly about 8 years ago

Sorry, stupid last minute change.

Well yes, pentium_m_n760_2[] in my patch is actually a modified version of
original pentium_m_n760[] with only the first item changed to a lower
voltage, so I'm not using the patch you posted either :) Can you make
sure that there's a difference in CPU performance between 800MHz and 1067MHz
with the new patch?

Thanks.

#3 Updated by victor about 8 years ago

There is a difference:

patata# sysctl machdep.est.frequency.target=800
machdep.est.frequency.target: 1067 -> 800
patata# openssl speed blowfish
To get the most accurate results, try to run this
program when this computer is idle.
Doing blowfish cbc for 3s on 16 size blocks: 3633138 blowfish cbc's in 3.02s
Doing blowfish cbc for 3s on 64 size blocks: 981798 blowfish cbc's in 3.02s
Doing blowfish cbc for 3s on 256 size blocks: 249954 blowfish cbc's in 3.02s
Doing blowfish cbc for 3s on 1024 size blocks: 62717 blowfish cbc's in 3.02s
Doing blowfish cbc for 3s on 8192 size blocks: 7860 blowfish cbc's in 2.98s
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
blowfish cbc 19275.81k 20782.06k 21218.28k 21240.85k 21574.80k

patata# sysctl machdep.est.frequency.target=1067
machdep.est.frequency.target: 800 -> 1067
patata# openssl speed blowfish
To get the most accurate results, try to run this
program when this computer is idle.
Doing blowfish cbc for 3s on 16 size blocks: 4852519 blowfish cbc's in 3.02s
Doing blowfish cbc for 3s on 64 size blocks: 1309280 blowfish cbc's in 3.01s
Doing blowfish cbc for 3s on 256 size blocks: 333284 blowfish cbc's in 3.02s
Doing blowfish cbc for 3s on 1024 size blocks: 83662 blowfish cbc's in 3.02s
Doing blowfish cbc for 3s on 8192 size blocks: 10483 blowfish cbc's in 3.02s
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
blowfish cbc 25745.28k 27857.99k 28292.05k 28334.45k 28476.44k

You're welcome

Also available in: Atom PDF