MacBookã§64ãããã«ã¼ãã«ã®ä½¿ãå¿å°
OSX 10.6ï¼SnowLeopardï¼ã§ã¯ãæ¨æºæ·»ä»ãããã»ã¼ãã¹ã¦ã®ã½ããã¦ã§ã¢ã64ãããã«å¯¾å¿ãããã¢ã¯ãã£ããã£ã¢ãã¿ï¼/Applications/Utilities/Activity Monitor.appï¼ ã§ç¢ºèªãã¦ã¿ãã¨ãã種é¡ãã®åé ç®ãã»ã¨ãã©ãIntelï¼64ãããï¼ãã¨ãªã£ã¦ãããï¼ã§ããiPhotoã»iTunesã¯æªã 32ããããªãã ãã©ï¼
ããã«ãSnowLeopardã§ã¯OSã®æ ¸ã§ããã«ã¼ãã«ã¾ã§ã64ãããã«å¯¾å¿ããããããã¢ã¯ãã£ããã£ã¢ãã¿ã§PIDã常ã«0ã§è¡¨ç¤ºãããkernel_taskãããã64ãããã«å¯¾å¿ããã®ã ãããããããã©ã«ãã§ã¯å¤ãã®ãã·ã³ãæªã 32ãããã«ã¼ãã«ã§èµ·åãããããã64ãããã«ã¼ãã«ã§èµ·åããã«ã¯ã6ãã¨ã4ãã®ãã¼ãæ¼ããªããèµ·åããå¿ è¦ãããããã ã
ã§ã£ãããã¨ã¯è¯ããã¨ã çãªçºæ³ã§ãããããã®ãè¦ãã¨å³è©¦ãã¦ã¿ãããªããã«ã¼ãã«ãå«ãããã¹ã¦ã64ãããã§å¦çãããã¨ããã®å¦çã®å¹çåã¯ä¸ä½ã©ãã»ã©ã«ãªãã®ã ããï¼æããã¦ä½æã§ããä½ãããæããããã®ã ãããï¼æå¾ ãè¨ãã¾ãã¤ã¤ãã6ãã¨ã4ããæ¼ããªããåèµ·åãã¦ã¿ãã
èµ·åãå®äºãã¦ããã«ãã¢ã¯ãã£ããã£ã¢ãã¿ã§kernel_taskã確èªãã¦ã¿ããã¨ãããã表示ã¯ç¸å¤ããããIntelãã®ã¿ãã64ããããã®è¡¨ç¤ºã¯ãªããã©ãããã32ãããã«ã¼ãã«ã§èµ·åãã¦ããããã ã
ã6ãã¨ã4ããæ¼ããªãããæ軽ã«64ãããã«ã¼ãã«ã§èµ·åããã¨ãã夢ã¯ãæ©ã ã«æã¡ç ãããã®ã§ãã£ã...ãåéå¤é£ï¼
èµ·åã§ããæ¡ä»¶
ã§ã¯ãèªåã®MacBookã¯ãæããã¦64ãããã«ã¼ãã«ã§èµ·åã§ãããã·ã³ãªã®ã ãããï¼64ãããã«ã¼ãã«ã§èµ·åããããã«ã¯ãå°ãªãã¨ããCPUã¨EFIã64ããã対å¿ã§ãããã¨ãå¿ è¦ãªæ¡ä»¶ãããã
64ãããCPU
- Mactrackerã§ç¢ºèªãã¦ã¿ãã¨ãArchitecture: 64-bitã¨ãªã£ã¦ããã64ãããCPUã ã¨æãããã
64ãããEFI
- ã¿ã¼ããã«ã§ä»¥ä¸ã®ã³ãã³ãï¼$ãé¤ã太åã®é¨åï¼ãå®è¡ãã¦ç¢ºèªãã¦ã¿ãã
$ ioreg -l -p IODeviceTree | grep firmware-abi | | "firmware-abi" = <"EFI64">
- EFI64ã®è¡¨ç¤ºã確èªã§ããã64ãããEFIã¨æãããã
å¿ è¦ãªè¦ä»¶ã¯æºããã¦ããã
æå³çãªå¶é
ã§ã¯ããªã64ãããã«ã¼ãã«ã§èµ·åããªãã®ãï¼
- 以ä¸ã®ãã¼ã¸ã«ããã¨ã2008年以éã®Mac Proã»MacBook Proã»iMacã»Xserveã2010年以éã®Mac miniã¯ã64ãããã«ã¼ãã«ã«å¯¾å¿ãã¦ãããããã
- ããããªãããMacBookã«ã¤ãã¦ã¯è¨è¼ããªããã©ãããã6ãã¨ã4ããæ¼ãã¦ã64ãããã«ã¼ãã«ã§èµ·åããªãçç±ã¯ãã©ãããã®è¾ºã«ããããã
ã«ã¼ãã«ã¯èµ·åæã«32bit/64bitãé¸æã§ããã®ã ããMac mini, Mac Book, Mac Book Airã«ããã¦ã¯ãAppleã¯ä¸ä½æ©ç¨®ã¨ã®å·®å¥åã®çºãEFIã64bitã«å¯¾å¿ãã¦ãã¦ã64bitã«ã¼ãã«ããã¼ãã§ããªãããæå³çã«å¶éãããã¦ããã32bitã«ã¼ãã«ã§ã32GBã¾ã§ã®ã¡ã¢ãªãæ±ããçºãå®ç¨çã«ã¯åé¡ãªãã®ã ãã...
http://www39.atwiki.jp/macmini/pages/30.html
- ä½ã¨ï¼è«¸ã ã®ç°å¢ã¨ãã¦ã¯64ãããã«ã¼ãã«ã®èµ·åãå¯è½ãªã®ã«ãAppleã®æ¹éã§æå³çã«å¶éããã¦ããã¨ã¯...ã確ãã«ã¡ãã£ã¨ã¬ãã«ãªããã
å¶éãåé¿ãã
ä¸çã¯åºããã©ããªæãããã£ã¨ã©ããã«ãã®éã®é人ããããããã¦ãèªåã«ã¯æ³åãã§ããªãæ¹æ³ã§éãéãã¦ããããä»åãã¾ããæ¤ç´¢ããã¨MacBookã§64ãããã«ã¼ãã«ã§èµ·åããæ¹æ³ãè¦ã¤ãã£ã¦ãã¾ã£ããç´ æ´ãããæï¼
åèãã¼ã¸
以ä¸ã®ãã¼ã¸ãããã¸ãåèã«ãªãã¾ãããæè¬ã§ãï¼
èªåã辿ã£ãæé ï¼ããã¯ã¢ããï¼
- TimeMachineã§ããã¯ã¢ãããã¦ãããï¼å¤±æãã¦ææªèµ·åããªããªã£ã¦ãç´ æ©ã復å ã§ããããã«ã復å ã®æé ãæ³åãããï¼
èªåã辿ã£ãæé ï¼64ããã対å¿boot.efiã®ä½æï¼
- boot.efiãã³ãã¼ããã
$ cp /System/Library/CoreServices/boot.efi ~/boot-k64.efi
HexEditorã§ã®ä½æ¥
- HexEditorããã¦ã³ãã¼ãã
- å ç¨ã³ãã¼ãããã¼ã ãã©ã«ãç´ä¸ã® boot-k64.efi ã HexEditor ã§éãã
- 以ä¸3ç®æã®ãã¤ãã³ã¼ãã®æ¸ãæããè¡ãã
- 0x28708 ã® 0x0 ã 0x4 ã«å¤æ´
- 0x2870c ã® 0x0 ã 0x1 ã«å¤æ´
- 0x28710 ã® 0x0 ã 0x2 ã«å¤æ´
- å
¥åä¾
- é¸æç¯å² éå§ç¹: 0x28708 ã¨å ¥åãã¦returnã
- ããã¨ã0x28700ãå é ã¨ããè¡ã«ã¸ã£ã³ãããã
- 0x28708ã®ä½ç½®ãã¯ãªãã¯ããã
- 表示ï¼ç·¨éæ¹æ³... char: 0x4 ã¨å ¥åãã¦returnã
- ä¸è¨ã§æ¸ãæããboot-k64.efiããCoreServiceså ã«ã³ãã¼ããã
$ sudo cp ~/boot-k64.efi /System/Library/CoreServices/
- ææè ã®å¤æ´ããã©ãã°ã®å¤æ´ãèµ·åæã« boot.efi ã«æ¿ãã£ã¦ boot-k64.efi ãå©ç¨ããããã«å¤æ´ã
$ sudo chown root:wheel /System/Library/CoreServices/boot-k64.efi $ sudo chflags uchg /System/Library/CoreServices/boot-k64.efi $ sudo bless --folder /System/Library/CoreServices --file /System/Library/CoreServices/boot-k64.efi
èªåã辿ã£ãæé ï¼åèµ·åï¼
- 以ä¸ã®è¨å®ãå®äºããããã6ãã¨ã4ããæ¼ããªããMacBookãåèµ·åããã°OKã
- ã¡ãªã¿ã«ã以ä¸ã®æ¹æ³ã§ã6ãã¨ã4ããæ¼ããªãã¨ã64ãããã«ã¼ãã«ã§èµ·åããã
ã«ã¼ãã«ã¢ã¼ãã®è¨å®ã¨ç¢ºèª
ä¸è¨ã§ã¯æ¯åã6ãã¨ã4ããæ¼ãã¦èµ·åããå¿ è¦ããããã以ä¸ã®ããã«è¨å®ãã¦ããã°å¸¸ã«64ãããã«ã¼ãã«ã§èµ·åããã
- 64ãããã«ã¼ãã«ã§èµ·åããã¢ã¼ãã®è¨å®ã¨ç¢ºèªã
$ sudo systemsetup -setkernelbootarchitecture x86_64 $ defaults read /Library/Preferences/SystemConfiguration/com.apple.Boot { Kernel = "mach_kernel"; "Kernel Architecture" = "x86_64"; "Kernel Flags" = ""; }
- 32ãããã«ã¼ãã«ã§èµ·åããã¢ã¼ãã®è¨å®ã¨ç¢ºèªã
$ sudo systemsetup -setkernelbootarchitecture i386 $ defaults read /Library/Preferences/SystemConfiguration/com.apple.Boot { Kernel = "mach_kernel"; "Kernel Architecture" = i386; "Kernel Flags" = ""; }
- ããã©ã«ã ã¢ã¼ãï¼èªåã®MacBookã¯32ãããã«ã¼ãã«ã§èµ·åããï¼ã®è¨å®ã¨ç¢ºèªã
$ sudo systemsetup -setkernelbootarchitecture default $ defaults read /Library/Preferences/SystemConfiguration/com.apple.Boot { Kernel = "mach_kernel"; "Kernel Flags" = ""; }
64ãããã«ã¼ãã«ã®ä½¿ãå¿å°
- è¦äºã64ãããã«ã¼ãã«ã§èµ·åããï¼
- ã§ããã®ä½¿ãå¿å°ã¯ã©ããã¨ããã¨...
ãå§ãã§ããªãï¼
-
- ã¢ãã¿ã®è²åããç°å¸¸ã
- ã«ã©ã¼è£æ£ãã§ããªãã
- ã¹ã¯ãã¼ã«ä¸ã«è¡¨ç¤ºãä¹±ããã
- ãã¬ãã¥ã¼.appã§è¡¨ç¤ºã§ããªãã
- ã¢ãã¿ãéãããã¹ãªã¼ãããããªã¼ãºããã
- çã ãã¡ãã£ã¨ä½¿ã£ãã ãã§ãæé©ãªç¶æ ã§ä½¿ãã¦ããªããã¨ã«æ°ä»ãã
- ãã®ããã«æ°ã ã®ç°å¸¸ãçºçããã®ã§ãã¢ããã«ã¯64ãããã«ã¼ãã«ã§ã®èµ·åãæå³çã«å¶éãã¦ããã®ãããããªãã
- ãããã¯ã64ãããã«ã¼ãã«ã§ã®èµ·åãæ³å®ãã¦ããªãã®ã§ãæ¾ç½®ããã¦ãã®ãããªç¶æ ã«ãªã£ã¦ããã®ãããããªãã
32ãããã«ã¼ãã«ã®å®å
ããã§ã¯ãMacBookã§ã¯OSã®ã«ã¼ãã«ã¾ã§å«ããçã®64ãããOSã®ç価ãä½æã§ããªãã®ã ãããï¼ãã®ã¾ã¾ååã®32ããããã«ã¼ãã«ã§ã®ãã³ãå¦çãããããªãã®ãï¼ãããªãã£ããæãè¾¼ã¿ä¸ãã¦ãããã以ä¸ã®ãã¼ã¸ã®è§£èª¬ãèªãã¨ãç¡çãã¦64ãããåã«ãã ããå¿ è¦ãªãã¦ãªããã¨ã«æ°ä»ããã
- OSXã§ã¯ãIntelã®64ãããCPUã§è¿½å ãããIA-32eã¨ããã¢ã¼ãã§å®è¡ãã¦ããã
- IA-32eã§ã¯ã64bitã¢ã¼ãã¨32bitäºæã¢ã¼ããè¶ é«éã«åãæ¿ãå¯è½ã
- ã«ã¼ãã«ã¯32bitäºæã¢ã¼ãã§ããã¢ããªã±ã¼ã·ã§ã³ãã¡ã¢ãªç®¡çã¯64bitã¢ã¼ãã«åãæ¿ãã¦å®è¡ãã¦ããã
- ã ãããã«ã¼ãã«ã®å¦ç以å¤ã§ã¯64ãããã®æ©æµ*1ãã¡ããã¨åãããããããã
- ããã¦ãä¸æ¦ã¢ããªã±ã¼ã·ã§ã³ãèµ·åãã¦ãã¾ãã¨ãã¢ããªã±ã¼ã·ã§ã³èªä½ã®å¦çã®ä¸ã§ã«ã¼ãã«ã«ä¾åããé¨åã¯ããã»ã©å¤ããªããããï¼èªåã®å©ç¨ç°å¢ã§ã¯ï¼
- å¯ä¸æ°ã«ãªãã®ã¯ã¡ã¢ãªç®¡çã ãã32ãããã«ã¼ãã«ã§ãã¡ã¢ãªç®¡çã¯64ãããã«åãæ¿ãã¦å¦çãããããã§ã4GB以ä¸ã®ã¡ã¢ãªå²ãå½ã¦ãåé¡ãªãå¯è½ãããã
ãã³ããã¼ã¯å·®
- 32ãããã¨64ãããã®ã«ã¼ãã«ã®ãã³ããã¼ã¯çµæãè¦ãã¨ãå®ã¯ããã»ã©å¤§å·®ãªããã¨ã«æ°ä»ãã
- å
¨è¬çãªå¾åã¨ãã¦ãè¥å¹²64ãããã«ã¼ãã«ã®æ¹ãã¹ã³ã¢ãè¯ãå¾åã«ãããããã®å·®ã¯å
å·®ãä½æã§ããç¨ã®å·®ã¯ç¡ãããã
- ãã³ããã¼ã¯é ç®ã®å¤ãããã«ã¼ãã«ãçµç±ããªãå¦çã¨ãªã£ã¦ããããã ã
- ä½ããXBenchã®Memory Testã®SystemãBonnieã®Sequential Inputã®Blockãªã©ç¹å®ã®é
ç®ã«ã¤ãã¦ã¯ã64ãããã«ã¼ãã«ã®æ¹ãé¡èã«è¯ãã¹ã³ã¢ã
- ãã¡ã¤ã«ãã¡ã¢ãªã«ã¢ã¯ã»ã¹ããã«ã¼ãã«ã«ä¾åããå¦çã§ã¯ãå·®ãåºã¦ããã
ä½æå·®
- ãã³ããã¼ã¯çµæããäºæ³ãããããã«ã64ãããã«ã¼ãã«ã§èµ·åãã¦ããã®å·®ã¯å ¨ãæããããªãã¨ããæè¦ãå¤ãããã ã
- éã«ããã©ã¤ããã«ã¼ãã«æ©è½æ¡å¼µï¼KEXTï¼ãåä½ããªãã£ãããä¸å®å®ãªãã¨ãããã32ãããã«ã¼ãã«ã«æ»ãã¦ããã¨ãã
ææ
- ã¤ã¾ãã32ãããã«ã¼ãã«ã§èµ·åããããã64ãããã«ã¼ãã«ã§èµ·åãããããç¾ç¶ã¯ã»ã¨ãã©æ§è½å·®ããªããï¼èªåã®ä½¿ãæ¹ã«ããã¦ã¯ï¼
- ä½ãããµã¼ãã¼ç¨éã§ã¯ã¾ãéã£ãçµæã«ãªããããããªãã
- ã¢ããã«ãè¨å®ããåºè·æã®ã«ã¼ãã«ã¢ã¼ãã§èµ·åãã¦ããã®ãããã¶ãæé©ãªç°å¢ã¨ãªãã
- ã¡ãªã¿ã«ãææ°ã®MacBookãMacBook Airã§ãããã64ãããã«ã¼ãã«ã¯ãµãã¼ãããã¦ããªãããã ã
- ä¸æ¹ãææ°ã®Mac ProãMacBook Proã¯ã64ãããã«ã¼ãã«ãããã©ã«ãã®è¨å®ã¨ãªã£ã¦ããã
- ã«ã¼ãã«ã32ãããã»64ãããã¨ã¯é¢ä¿ãªããã«ã¼ãã«ä»¥å¤ã®ã½ããã¦ã§ã¢ã64ãããã§å©ç¨ããã°ã64ãããã®æ©æµãååã«åããããã
- ã¦ããã¼ãµã«ãã¤ããªãæ´»ç¨ãã32ããããã64ãããã¸ã®ç§»è¡ã¯å®ã«ã¹ã ã¼ãºã
- ã¦ã¼ã¶ã¼ã¯32ããããã64ããããããªãã¦ã»ã¨ãã©æ°ã«ããå¿ è¦ã¯ç¡ãã
- PowerPCããIntelã®æãããã ã£ããããã¯ãCPUã®éãã¯ããããåé¡ã§ã¯ãªããªã£ã¦ãã¾ã£ãã
- OSãCPUã®éããå¸åãã¦ããã®ç°å¢ã«æé©ãªæ¹æ³ã§å®è¡ããããã«ãªã£ã¦ãã¾ã£ãã
é¢é£ããåèãã¼ã¸
以ä¸ã®ãã¼ã¸ãé¢é£ããç¥èãããæ·±ãã¦ããã¾ãããæè¬ã§ãï¼
- OSXãã¼ã¸ã§ã³ã®éãã«ãã64ãããç°å¢ã®ã¬ãã«
- blessã³ãã³ãã¯ä½ããã¦ãããï¼
*1:64ãããã®ã¬ã¸ã¹ã¿ããµãã ãã«å©ç¨ãããã4GB以ä¸ã®åºå¤§ãªç©çã¡ã¢ãªç©ºéãå©ç¨ãããã