Jump to content
14 posts in this topic

Recommended Posts

Hi all... I recently installed the JaS patched DVD 10.4.3 1111a and I have a feeling it's emulating SSE3. Well, my CPU has SSE3 anyway, so how can I find out if it is emulating it? And if it is, how can I change it?

 

Many thanks,

 

SABR. :)

Link to comment
https://www.insanelymac.com/forum/topic/10164-got-a-feeling-its-emulating-sse3/
Share on other sites

It's my understanding that Maxxuss SSE3 emulator only functions if the calls aren't in hardware, so there is little if any penalty having the extra code there...you may notice no difference in using the full SSE3 kernel versus emu.

 

Oh, ok... The only weird thing, is that iTunes skips loads of times, and under 10.4.1 it worked fine... :(

There is this maxxus_sse tool made to check this. It's included in the patch.

 

This is what it says in the terminal:

 

sabr:~ Tim$ /maxxuss_sse; exit
MAXXUSS SSE3 Emulator Diagnostic Tool v1.1

Usage: maxxuss_sse [[-]b|B 3|2|e] [[-]r] [[-]i] [[-]t]

Description of available options:

b : Performs a benchmark; looping over SSE2, SSE3 or no instructions.
This is useful for measuring the overhead of the SSE3 emulation.
One of the subcommands is required:
3 : SSE3 Emulation Microbenchmark Mix
2 : SSE2 Pendant Microbenchmark Mix
e : Empty Loop for a baseline measurement

Example Usage: (commands in shell, % is prompt)
% time maxxuss_sse b2
=> Shows the time of the native SSE2 instruction execution. (= T2)
% time maxxuss_sse b3
=> Shows the time of the emulated SSE3 instruction execution. (= T3)
The relative overhead of the SSE3 emulation can be roughly
calculated with the forumla (T3-T2)/T2

Example Result: T2 = 3,5 sec, T3 = 32 sec
	 ==> Relative overhead is (T3-T2)/T2 = 8,14
	 This means, the SSE3 emulation has a 814% overhead.

Note: Please ensure that there is no other CPU load
during a benchark, e.g. a movie player.

B : Same as b, but with a 3x longer loop.

r : Resets the Code Slot Bitflags (see "i" option) to 0.
The Code Slot Bitflags should ideally be 0, rarely 1.
If it is constantly above 2, you can clear for higher speed.
A high bitflags value slows down emulation performance.
However, be careful, it might influence app/system stability.

i : Prints diagnostic information of the SSE3 Emulator
This is only useful for SSE3 Emulator v4 and above!
The full diagnostic information is only shown if the emulator
is running with enabled full diagnostic info output.
Example:
% maxxuss_sse i

t : Performs some tests showing that the SSE3 emulator is working.
This is only useful for SSE3 Emulator v4 and above!
Example:
% maxxuss_sse t

logout
[Process completed]

 

Any ideas? It just feels a bit "sluggish" with iTunes running... Like, sometimes, if I right-click a file, everythign will stop, the beachball will come up, and after 30 seconds everything will be ok again. Like I said, this is only sometimes... but, that's why I thought SSE3 was being emulated. I still don't know if it is or isn't, so if someone could just tell me how to find out and how to turn it off, it would be much appreciated.

 

Many thanks.

Open Terminal and type the following:

cd /
strings -a /mach_kernel | grep -i maxxuss

 

Note that the vertical line after the name of the kernel file is the pipe character (the broken vertical line on your keyboard). You might also have to change the name of the mach_kernel if you aren't using the default one (check in your com.apple.boot.plist file to be sure).

Open Terminal and type the following:

cd /
strings -a /mach_kernel | grep -i maxxuss

 

Note that the vertical line after the name of the kernel file is the pipe character (the broken vertical line on your keyboard). You might also have to change the name of the mach_kernel if you aren't using the default one (check in your com.apple.boot.plist file to be sure).

 

Can I just copy and paste that into the terminal? Also, the Kernel being used in the Boot.plist is mach_kernel .

 

EDIT:

 

Ok, this is what it outputs:

 

sabr:/ Tim$ strings -a /mach_kernel | grep -i maxxuss
MAXXUSS RTC Patch 8F1111A
MAXXUSS No-NX/XD Patch 8F1111A
MAXXUSS CPUID Patch 8F1111A
MAXXUSS SSE3-Emulator v4.1-8F1111A

 

I guess it is emulating SSE3. Any ideas on how to turn it off? I also have a NX capable CPU (i think), so how can I undo the NX Patch?

 

I'm sorry for all these questions... I'm just not very good when it comes to things like this.

 

EDIT 2:

 

I've found all the ppf files for undoing SSE3 emulationg etc... I suppose I use ppf-o-matic to apply them to the mach)kernel or something? How exactly do I apply thse ppf files to the mach_kernel?

If you're positive it's emulating it, all you have to do is make your own kernel. Download the patches from Maxxuss's site and make your own using the the mach_kernel.orig that comes with it. Rename it to "mach_kernel" and put it in the top-level directory (replacing the old one) and reboot. It will then use your own.

Keep in mind that 8g1454 is using Intel’s High Precision Event Timers (HPET).

Its not emulating sse3 unless your cpu throws an exception, which could be induced by some code, but not any of the shipping code. To be sure just overlay the JaS provided mach_kernel with the original and make the following modifications to it(or you could apply the amd ppf to mach_kernel.orig).

  590849   590849 MOD   0 115  -M
 590850   590850 MOD   0 101  -A
 590851   590851 MOD   0 130  -X
 590852   590852 MOD   0 130  -X
 590853   590853 MOD   0 125  -U
 590854   590854 MOD   0 123  -S
 590855   590855 MOD   0 123  -S
 590856   590856 MOD   0  40  - 
 590857   590857 MOD   0 113  -K
 590858   590858 MOD   0 145  -e
 590859   590859 MOD   0 162  -r
 590860   590860 MOD   0 156  -n
 590861   590861 MOD   0 145  -e
 590862   590862 MOD   0 154  -l
 590863   590863 MOD   0  40  - 
 590864   590864 MOD   0  50  -(
 590865   590865 MOD   0 166  -v
 590866   590866 MOD   0  60  -0
 590867   590867 MOD   0  56  -.
 590868   590868 MOD   0  64  -4
 590869   590869 MOD   0  51  -)
 590881   590881 MOD   0 270  - 
 590882   590882 MOD   0 230  - 
 590883   590883 MOD   0 317  - 
 590884   590884 MOD   0  31  - 
 590886   590886 MOD   0 377  - 
 590887   590887 MOD   0 320  - 
 590888   590888 MOD   0 270  - 
 590890   590890 MOD   0 316  - 
 590891   590891 MOD   0  31  - 
 590893   590893 MOD   0 377  - 
 590894   590894 MOD   0 340  - 
 590895   590895 MOD   0 111  -I
 590896   590896 MOD   0 117  -O
 590897   590897 MOD   0 104  -D
 590898   590898 MOD   0 145  -e
 590899   590899 MOD   0 166  -v
 590900   590900 MOD   0 151  -i
 590901   590901 MOD   0 143  -c
 590902   590902 MOD   0 145  -e
 590903   590903 MOD   0 124  -T
 590904   590904 MOD   0 162  -r
 590905   590905 MOD   0 145  -e
 590906   590906 MOD   0 145  -e
 590907   590907 MOD   0  72  -:
 590908   590908 MOD   0  57  -/
 590909   590909 MOD   0 162  -r
 590910   590910 MOD   0 157  -o
 590911   590911 MOD   0 155  -m
 590913   590913 MOD   0 213  - 
 590914   590914 MOD   0 110  -H
 590915   590915 MOD   0  15  - 
 590916   590916 MOD   0 201  - 
 590917   590917 MOD   0 371  - 
 590918   590918 MOD   0  57  -/
 590919   590919 MOD   0 145  -e
 590920   590920 MOD   0 146  -f
 590921   590921 MOD   0 151  -i
 590922   590922 MOD   0 165  -u
 590923   590923 MOD   0  10  - 
 590924   590924 MOD   0 270  - 
 590925   590925 MOD   0  56  -.
 590926   590926 MOD   0  24  - 
 590927   590927 MOD   0  32  - 
 590929   590929 MOD   0 211  - 
 590930   590930 MOD   0 105  -E
 590931   590931 MOD   0  10  - 
 590932   590932 MOD   0 152  -j
 590933   590933 MOD   0  72  -:
 590934   590934 MOD   0 120  -P
 590935   590935 MOD   0 270  - 
 590936   590936 MOD   0 110  -H
 590937   590937 MOD   0 110  -H
 590938   590938 MOD   0  72  -:
 590940   590940 MOD   0 377  - 
 590941   590941 MOD   0 320  - 
 590942   590942 MOD   0 203  - 
 590943   590943 MOD   0 304  - 
 590944   590944 MOD   0  10  - 
 590945   590945 MOD   0 303  - 
 590946   590946 MOD   0 220  - 
 590947   590947 MOD   0 220  - 
 590948   590948 MOD   0 220  - 
 590949   590949 MOD   0 220  - 
 590950   590950 MOD   0 220  - 
 590951   590951 MOD   0 220  - 
 590952   590952 MOD   0 220  - 
 590953   590953 MOD   0 220  - 
 590954   590954 MOD   0 220  - 
 590955   590955 MOD   0 220  - 
 590956   590956 MOD   0 220  - 
 590957   590957 MOD   0 220  - 
 590958   590958 MOD   0 220  - 
 590959   590959 MOD   0 220  - 
 590960   590960 MOD   0 220  - 
 590961   590961 MOD   0 220  - 
 590962   590962 MOD   0 220  - 
 590963   590963 MOD   0 220  - 
 590964   590964 MOD   0 220  - 
 590965   590965 MOD   0 220  - 
 590966   590966 MOD   0 220  - 
 590967   590967 MOD   0 220  - 
 590968   590968 MOD   0 220  - 
 590969   590969 MOD   0 220  - 
 590970   590970 MOD   0 220  - 
 590971   590971 MOD   0 220  - 
 590972   590972 MOD   0 220  - 
 590973   590973 MOD   0 220  - 
 590974   590974 MOD   0 220  - 
 590975   590975 MOD   0 220  - 
 590976   590976 MOD   0 220  - 
 590977   590977 MOD   0 205  - 
 590978   590978 MOD   0 333  - 
 590979   590979 MOD   0 164  -t
 590980   590980 MOD   0   5  - 
 590981   590981 MOD   0 203  - 
 590982   590982 MOD   0 373  - 
 590983   590983 MOD   0  10  - 
 590984   590984 MOD   0 166  -v
 590985   590985 MOD   0   5  - 
 590986   590986 MOD   0 273  - 
 590987   590987 MOD   0   1  - 
 590991   590991 MOD   0 211  - 
 590992   590992 MOD   0 232  - 
 590993   590993 MOD   0 304  - 
 590997   590997 MOD   0 211  - 
 590998   590998 MOD   0 313  - 
 590999   590999 MOD   0 303  - 
 591000   591000 MOD   0 220  - 
 591001   591001 MOD   0 205  - 
 591002   591002 MOD   0 300  - 
 591003   591003 MOD   0 164  -t
 591004   591004 MOD   0   5  - 
 591005   591005 MOD   0 203  - 
 591006   591006 MOD   0 370  - 
 591007   591007 MOD   0  10  - 
 591008   591008 MOD   0 166  -v
 591009   591009 MOD   0   5  - 
 591010   591010 MOD   0 270  - 
 591011   591011 MOD   0   1  - 
 591015   591015 MOD   0 213  - 
 591016   591016 MOD   0 115  -M
 591017   591017 MOD   0  10  - 
 591018   591018 MOD   0 211  - 
 591019   591019 MOD   0 201  - 
 591020   591020 MOD   0 300  - 
 591024   591024 MOD   0 211  - 
 591025   591025 MOD   0 360  - 
 591026   591026 MOD   0 303  - 
 591027   591027 MOD   0 220  - 
 591028   591028 MOD   0 220  - 
 591029   591029 MOD   0 213  - 
 591030   591030 MOD   0 201  - 
 591031   591031 MOD   0 300  - 
 591035   591035 MOD   0 205  - 
 591036   591036 MOD   0 300  - 
 591037   591037 MOD   0 164  -t
 591038   591038 MOD   0   5  - 
 591039   591039 MOD   0 203  - 
 591040   591040 MOD   0 370  - 
 591041   591041 MOD   0  10  - 
 591042   591042 MOD   0 166  -v
 591043   591043 MOD   0  13  - 
 591044   591044 MOD   0 270  - 
 591045   591045 MOD   0   1  - 
 591049   591049 MOD   0 211  - 
 591050   591050 MOD   0 201  - 
 591051   591051 MOD   0 300  - 
 591055   591055 MOD   0  61  -1
 591056   591056 MOD   0 322  - 
 591057   591057 MOD   0 367  - 
 591058   591058 MOD   0 261  - 
 591059   591059 MOD   0 300  - 
 591063   591063 MOD   0 303  - 
3356633  3356633 MOD 255  40  - 
3356634  3356634 MOD  17  70  -8
3356640  3356640 MOD 216 356  - 
3258200  3356705 MOD   0 205  - 
3258201  3356706 MOD   0 300  - 
3258202  3356707 MOD 120 164 P-t
3258203  3356708 MOD  43   3 #- 
3258204  3356709 MOD   0  17  - 
3258205  3356710 MOD  70 242 8- 
3258206  3356711 MOD 120 317 P- 
3258207  3356712 MOD  43  17 #- 
3258208  3356713 MOD   0 242  - 
3258209  3356714 MOD 200 273  - 
3258210  3356715 MOD 172 107 z-G
3258211  3356716 MOD 113 145 K-e
3258212  3356717 MOD   0 156  -n
3258213  3356718 MOD   0 165  -u
3258214  3356719 MOD   0 271  - 
3258215  3356720 MOD   0 156  -n
3258216  3356721 MOD   0 164  -t
3258217  3356722 MOD  15 145  -e
3258218  3356723 MOD   0 154  -l
3258219  3356724 MOD   0 272  - 
3258220  3356725 MOD   0 151  -i
3258221  3356726 MOD   2 156  -n
3258222  3356727 MOD   0 145  -e
3258223  3356728 MOD   0 111  -I
3258224  3356729 MOD 300 317  - 
3258225  3356730 MOD 204 115  -M
3258226  3356731 MOD 311 101  -A
3258227  3356732 MOD 102 130 B-X
3258228  3356733 MOD   0 130  -X
3258229  3356734 MOD   0 125  -U
3258230  3356735 MOD   0 123  -S
3258231  3356736 MOD   0 123  -S
3258232  3356737 MOD   0  40  - 
3258233  3356738 MOD 174 101 |-A
3258234  3356739 MOD 253 115  -M
3258235  3356740 MOD  74 104 <-D
3258236  3356741 MOD   0  40  - 
3258237  3356742 MOD 264 105  -E
3258238  3356743 MOD 302 156  -n
3258239  3356744 MOD  63 141 3-a
3258240  3356745 MOD   0 142  -b
3258241  3356746 MOD 220 154  -l
3258242  3356747 MOD  20 145  -e
3258243  3356748 MOD  74 162 <-r

Hope this helps.

your reply doesn't make anysense like the original post, maxuss 10.4.5 patches use the 10.4.4 kernel so it's not trying to emulate anything, the sse3 emu kernel is only called like you said if an illegal istruction exception is rised from the kernel and it's not going to happen with a sse3 cpu.

 

Itunes is just garbage like almost apple middleware, itunes is competing hard to reach the first place in garbage software used by the retarded masses

Well, I'm trying to run PPF-O-Matic 3.0 and apply the undo ppf files, but after I select an image and go to select a patch, it suddenly quits (and visa versa).

 

your reply doesn't make anysense like the original post, maxuss 10.4.5 patches use the 10.4.4 kernel so it's not trying to emulate anything, the sse3 emu kernel is only called like you said if an illegal istruction exception is rised from the kernel and it's not going to happen with a sse3 cpu.

 

Itunes is just garbage like almost apple middleware, itunes is competing hard to reach the first place in garbage software used by the retarded masses

 

What? I'm running 10.4.3. Unless what you're saying is so confusing to me that I don't understand, I think you think I'm running 10.4.4/10.4.5...

Well, I'm trying to run PPF-O-Matic 3.0 and apply the undo ppf files, but after I select an image and go to select a patch, it suddenly quits (and visa versa).

What? I'm running 10.4.3. Unless what you're saying is so confusing to me that I don't understand, I think you think I'm running 10.4.4/10.4.5...

 

nope i'm not saying that you are running 10.4.4/5 , i was trying to explain prolly with bad words how maxuss sse3 emu kernel works, anyway if your cpu has sse3 the emu kernel is never called

Yes, the SSE3 emulation is NEVER being used if your CPU is SSE3 compliant so there's really no point in trying to remove it. It would probably be a bug in iTunes at the moment, hence why you should move over to 10.4.4 and get all the official Universal Binary's.

×
×
  • Create New...