Skip to content

Upgrading disk and running Linux on Macbook Pro 2012 Retina

Linux on Macbook Pro 2012

Installation Image


——-

Running YABS on MBP2012

Wanted to run a BM on PHP-Friends VPS before turning it off for good, instead I hit enter in my terminal and ended up running this benchmark for the Macbook Pro 2012.

$ wget -q0- yabs.sh | bash

on my Macbook Pro late 2012 (w/ SSD upgrade to 480 GB). Not bad for a @ 10 year old laptop. Network I need to look into.
So here goes...

Basic System Information
---------------------------------
Processor : Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz
CPU cores : 4 @ 1795.209 MHz
AES-NI : ✔ Enabled
VM-x/AMD-V : ✔ Enabled
RAM : 7.6 GiB
Swap : 3.9 GiB
Disk : 435.0 GiB

fio Disk Speed Tests (Mixed R/W 50/50)
---------------------------------
Block Size | 4k (IOPS) | 64k (IOPS)
------ | --- ---- | ---- ----
Read | 89.50 MB/s (22.3k) | 149.30 MB/s (2.3k)
Write | 89.74 MB/s (22.4k) | 150.09 MB/s (2.3k)
Total | 179.24 MB/s (44.8k) | 299.40 MB/s (4.6k)
| |
Block Size | 512k (IOPS) | 1m (IOPS)
------ | --- ---- | ---- ----
Read | 176.96 MB/s (345) | 193.56 MB/s (189)
Write | 186.36 MB/s (363) | 206.46 MB/s (201)
Total | 363.33 MB/s (708) | 400.02 MB/s (390)

iperf3 Network Speed Tests (IPv4)
---------------------------------
Provider | Location (Link) | Send Speed | Recv Speed
| | |
Clouvider | London, UK (10G) | 3.27 Mbits/sec | 6.95 Mbits/sec
Online.net | Paris, FR (10G) | busy | 8.95 Mbits/sec
WorldStream | The Netherlands (10G) | 6.09 Mbits/sec | 10.2 Mbits/sec
Biznet | Jakarta, Indonesia (1G) | busy | busy
Clouvider | NYC, NY, US (10G) | 7.04 Mbits/sec | 8.42 Mbits/sec
Velocity Online | Tallahassee, FL, US (10G) | 3.17 Mbits/sec | 5.03 Mbits/sec
Clouvider | Los Angeles, CA, US (10G) | busy | 5.84 Mbits/sec
Iveloz Telecom | Sao Paulo, BR (2G) | busy | 4.16 Mbits/sec

iperf3 Network Speed Tests (IPv6)
---------------------------------
Provider | Location (Link) | Send Speed | Recv Speed
| | |
Clouvider | London, UK (10G) | 7.17 Mbits/sec | 7.12 Mbits/sec
Online.net | Paris, FR (10G) | busy | busy
WorldStream | The Netherlands (10G) | busy | 8.29 Mbits/sec
Clouvider | NYC, NY, US (10G) | 8.08 Mbits/sec | 9.47 Mbits/sec
Clouvider | Los Angeles, CA, US (10G) | 5.47 Mbits/sec | 6.77 Mbits/sec

Geekbench 5 Benchmark Test
---------------------------------
Test | Value
|
Single Core | 661
Multi Core | 1385
Full Test | https://browser.geekbench.com/v5/cpu/10250748

-----

Running bench.monster

I upgraded the disk on my Macbook Pro Late 2012 with a 480 GB M.2 Sata of Kingston Make. Since I had posted the results from YABs, I thought it was fair to post results from bench.monster also. The slow network issue at home not yet addressed, as will be evident below.

---------------------------------------------------------------------------

 Virt/Kernel  : Dedicated / 5.13.0-7614-generic
 CPU Model    : Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz
 CPU Cores    : 4 @ 2560.957 MHz x86_64 3072 KB Cache
 CPU Flags    : AES-NI Enabled & VM-x/AMD-V Enabled
 Load Average : 0.83, 0.55, 0.22
 Total Space  : 447G (305G ~72% used)
 Total RAM    : 7826 MB (1382 MB + 2295 MB Buff in use)
 Total SWAP   : 7998 MB (0 MB in use)
 Uptime       : 0 days 0:2
---------------------------------------------------------------------------
 ASN & ISP    : AS13XXXX
 Organization : XXXxXx
 Location     : XXXx
 Region       : India
---------------------------------------------------------------------------

Geekbench v4 CPU Benchmark

  Single Core : 3389  (VERY GOOD)
   Multi Core : 6453

 ## IO Test

 CPU Speed:
    bzip2     : 102 MB/s
   sha256     : 173 MB/s
   md5sum     : 485 MB/s

 RAM Speed:
   Avg. write : 3447.5 MB/s
   Avg. read  : 5734.4 MB/s

 Disk Speed:
   1st run    : 416 MB/s
   2nd run    : 419 MB/s
   3rd run    : 388 MB/s
   -----------------------
   Average    : 407.7 MB/s

Asia Speedtest.net

 Location                         Upload           Download         Ping   
---------------------------------------------------------------------------
 Nearby                           8.27 Mbit/s      11.42 Mbit/s     10.841 ms
---------------------------------------------------------------------------
 India, New Delhi (Weebo)         6.85 Mbit/s      9.39 Mbit/s      38.823 ms
 India, Mumbai (SevenStar)        6.59 Mbit/s      11.02 Mbit/s     27.584 ms
 India, Bengaluru (I-ON)          4.50 Mbit/s      9.88 Mbit/s       6.677 ms
 Sri Lanka, Colombo (Telecom PLC) 6.45 Mbit/s      8.78 Mbit/s      39.759 ms
 Pakistan, Islamabad (Telenor)    6.16 Mbit/s      9.21 Mbit/s     199.933 ms
 Mongolia, Ulaanbaatar (Mobicom)  4.38 Mbit/s      9.24 Mbit/s     201.376 ms
 Bangladesh, Dhaka (Skytel)       7.50 Mbit/s      7.78 Mbit/s      94.026 ms
 Bhutan, Thimphu (Bhutan Telecom) 6.42 Mbit/s      11.93 Mbit/s    ping error!
 Myanmar, Mandalay (Ooredoo)      5.88 Mbit/s      9.51 Mbit/s     339.947 ms
 Laos, Vientaine (Mangkone)       5.41 Mbit/s      7.23 Mbit/s     212.590 ms
 Thailand, Bangkok (CAT Telecom)  6.25 Mbit/s      11.07 Mbit/s     69.079 ms
 Cambodia, Phnom Penh (Smart)     2.34 Mbit/s      6.63 Mbit/s     465.340 ms
 Vietnam, Hanoi (Viettel)         5.99 Mbit/s      7.28 Mbit/s     102.878 ms
 Malaysia, Kuala Lumpur (Extreme) 6.43 Mbit/s      9.11 Mbit/s      53.315 ms
 Singapore (PT FirstMedia)        5.76 Mbit/s      7.64 Mbit/s     208.099 ms
 Indonesia, Jakarta (Desnet)      6.74 Mbit/s      11.36 Mbit/s    116.145 ms
 Philippines, Manila (Globe Tel)  6.70 Mbit/s      9.75 Mbit/s      92.763 ms
 Hong Kong (fdcservers)           8.10 Mbit/s      10.00 Mbit/s     78.469 ms
 Taiwan, Taipei (TAIFO)           2.96 Mbit/s      9.57 Mbit/s     254.885 ms
 Japan, Tsukuba (SoftEther)       7.02 Mbit/s      12.42 Mbit/s    114.814 ms
---------------------------------------------------------------------------

 Finished in : 20 min 40 sec
 Timestamp   : 2021-10-06 17:40:16 GMT
 Saved in    : /root/speedtest.log

 Share results:
 
 - https://browser.geekbench.com/v4/cpu/16372043

Does the flavour of Linux change the Benchmark Results>

This question has been nagging me for a bit, so instead of a Debian based system, I decided to run the benchmark on an Arch Linux based system. In this case, Manjaro Linux. I used a XFCE, lightweight desktop environment compared to KDE. Below are the results from YABS

 YABS on Manjaro XFCE on Macbook Pro 2012

Saturday 16 October 2021 09:57:15 AM IST

Basic System Information
---------------------------------
Processor  : Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz
CPU cores  : 4 @ 2553.978 MHz
AES-NI     : ✔ Enabled
VM-x/AMD-V : ✔ Enabled
RAM        : 7.6 GiB
Swap       : 1.9 GiB
Disk       : 110.7 GiB

fio Disk Speed Tests (Mixed R/W 50/50)
---------------------------------
Block Size | 4k            (IOPS) | 64k           (IOPS)
  ------   | ---            ----  | ----           ---- 
Read       | 65.54 MB/s   (16.3k) | 99.29 MB/s    (1.5k)
Write      | 65.67 MB/s   (16.4k) | 99.81 MB/s    (1.5k)
Total      | 131.21 MB/s  (32.8k) | 199.11 MB/s   (3.1k)
           |                      |                     
Block Size | 512k          (IOPS) | 1m            (IOPS)
  ------   | ---            ----  | ----           ---- 
Read       | 106.21 MB/s    (207) | 113.52 MB/s    (110)
Write      | 111.85 MB/s    (218) | 121.09 MB/s    (118)
Total      | 218.06 MB/s    (425) | 234.61 MB/s    (228)

Geekbench 4 Benchmark Test
---------------------------------
Test            | Value                         
                |                               
Single Core     | 3179                          
Multi Core      | 5984                          
Full Test       | https://browser.geekbench.com/v4/cpu/16381925