Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Disk speed of my Macbook SSD is worse than most of my VPSs?
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Disk speed of my Macbook SSD is worse than most of my VPSs?

RaymiiRaymii Member
edited May 2013 in General

So, my 13" macbook has some speed issues, it hangs a lot lately, and it's not the ram or the CPU. Look at these dd results:

$ dd if=/dev/zero of=test bs=64k count=16k
16384+0 records in
16384+0 records out
1073741824 bytes transferred in 73.744436 secs (14560310 bytes/sec)

== 14 MB/sec :(

EDIT: Macbook recently got a fresh reinstall and a Samsung 840 250GB SSD.

Now take a look at some of my VPS servers:

$ ansible spcs -a "dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync"

EDIS KVM:

vps14.sparklingclouds.nl | FAILED | rc=1 >>
dd: writing `test': No space left on device
765+0 records in
764+0 records out
50069504 bytes (50 MB) copied, 0.912368 s, 54.9 MB/s

Prometeus OpenVZ:

vps11.sparklingclouds.nl | success | rc=0 >>
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 5.90357 s, 182 MB/s

BuyVM OpenVZ:

vps1.sparklingclouds.nl | success | rc=0 >>
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 8.10506 s, 132 MB/s

Fusioned KVM:

vps18.sparklingclouds.nl | success | rc=0 >>
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 8.91558 s, 120 MB/s

EDIS Vserver:

vps12.sparklingclouds.nl | FAILED | rc=1 >>
dd: writing `test': No space left on device
8268+0 records in
8267+0 records out
541827072 bytes (542 MB) copied, 22.4639 s, 24.1 MB/s

EDIS Vserver:

vps13.sparklingclouds.nl | FAILED | rc=1 >>
dd: writing `test': No space left on device
8476+0 records in
8475+0 records out
555442176 bytes (555 MB) copied, 21.7373 s, 25.6 MB/s

Inception Hosting XEN PV:

vps17.sparklingclouds.nl | success | rc=0 >>
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 19.6996 s, 54.5 MB/s

HostSlim OpenVZ:

vps19.sparklingclouds.nl | success | rc=0 >>
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 8.98714 s, 119 MB/s

InceptionHosting Xen PV:

vps21.sparklingclouds.nl | success | rc=0 >>
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 4.18564 s, 257 MB/s

Have no idea where I bought this one:

vps23.sparklingclouds.nl | success | rc=0 >>
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 6.06838 s, 177 MB/s

Yet again no fscking idea anymore:

vps24.sparklingclouds.nl | FAILED | rc=1 >>
dd: writing `test': No space left on device
10629+0 records in
10628+0 records out
696528896 bytes (697 MB) copied, 5.34059 s, 130 MB/s

Also can't remember:

vps20.sparklingclouds.nl | success | rc=0 >>
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 9.98879 s, 107 MB/s

BuyVM OpenVZ

vps5.sparklingclouds.nl | success | rc=0 >>
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 7.30506 s, 147 MB/s

BuyVM OpenVZ:

vps3.sparklingclouds.nl | success | rc=0 >>
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 12.8532 s, 83.5 MB/s

How can I crank up this macbook? Specs:

MacBook Pro (MacBookPro9,2)
Intel Core i5 @ 2000 MHz
8 GB - DDR3 @ 1600 MHz
Intel HD Graphics 4000
Samsung 840 250 GB SSD
OS X 10.8
«1

Comments

  • jarjar Patron Provider, Top Host, Veteran

    I'm not so sure I'd be comparing my consumer grade laptop to enterprise grade servers. If its lagging pop in an ssd.

  • InfinityInfinity Member, Host Rep

    That's not good but you can't really compare with VPS's, since they're different disks etc., although having said that my USB stick gets more in a DD test than that.

  • nunimnunim Member

    Why are you expecting a crappy laptop HDD to perform as well as Raid 10 with enterprise drives? If you need good disk write speed on your macbook, swap out your HDD for an SSD.

  • RaymiiRaymii Member

    @numin because it has an SSD:

    EDIT: Macbook recently got a fresh reinstall and a Samsung 840 250GB SSD.

  • mikhomikho Member, Host Rep

    Or the windos approch: reinstall :)

  • RaymiiRaymii Member

    @mikho just did that two weeks ago when installing the SSD...

  • PatrickPatrick Member

    @Raymii said: EDIT: Macbook recently got a fresh reinstall and a Samsung 840 250GB SSD.

    May want to try update firmware
    http://www.samsung.com/global/business/semiconductor/samsungssd/downloads.html

    I have Samsung 830 and get 293mb/s from that test

  • jarjar Patron Provider, Top Host, Veteran
    edited May 2013

    Maybe it's just not a great drive. Or maybe a driver issue.

  • RobertClarkeRobertClarke Member, Host Rep

    brightstar:~ Robert$ dd if=/dev/zero of=test bs=64k count=16k
    16384+0 records in
    16384+0 records out
    1073741824 bytes transferred in 4.134570 secs (259698555 bytes/sec)

  • mikhomikho Member, Host Rep

    @raymii
    Wrote it before your post showed. Sorry.

  • yomeroyomero Member

    Or an Osx ¬¬ issue

  • jarjar Patron Provider, Top Host, Veteran

    @yomero Possibility. OS X is usually tuned to the hardware set that Apple includes. When you start mixing things up sometimes you have to start treating it like the BSD it really is and dig into the kernel extensions.

  • shovenoseshovenose Member, Host Rep

    It's a Mac :P that's the issue.
    But seriously, you can't compare performance between a single drive on a consumer grade controller running a normal OS to a server running multiple enterprise disks on a $500 RAID controller with a Server OS :P

  • jarjar Patron Provider, Top Host, Veteran
  • wdqwdq Member

    @shovenose said: But seriously, you can't compare performance between a single drive on a consumer grade controller running a normal OS to a server running multiple enterprise disks on a $500 RAID controller with a Server OS :P

    Spinning laptop drives will usually get 50MB/s through 100MB/s so 14MB/s from an SSD is terrible. If it was capping at around HDD speed I'd say that the MacBook has a SATA II controller and not a SATA III controller.

  • ZinnVPSZinnVPS Member

    the question to ask what year is your mac book?

  • ZinnVPSZinnVPS Member

    @raymii here reset the smc for the macbook http://support.apple.com/kb/HT3964

  • There's something wrong with your drive. Here's the same test on my macbook pro with a Crucial M4 CT512M4SSD2.

    1073741824 bytes transferred in 4.002701 secs (268254330 bytes/sec)

  • yomeroyomero Member

    Maybe it works fine in... Windows/Linux? :P

  • MuZoMuZo Member
    edited May 2013

    /**
    vps23.sparklingclouds.nl
    --> DigitalOcean NL

    vps24.sparklingclouds.nl
    --> Edis NL

    vps20.sparklingclouds.nl
    --> Serverius (probabilly Hostslim / VPSslim)
    **/

  • RaymiiRaymii Member

    @ZinnVPS said: @raymii here reset the smc for the macbook http://support.apple.com/kb/HT3964

    2012 MBP. Already did a PRAM reset.

    @yomero said: Maybe it works fine in... Windows/Linux? :P

    Nah, the Arch Linux Dualboot gets the same slow speed...

    @Patrick said: May want to try update firmware

    What firmware are you running?

    Thanks for the tips guys!

  • jarjar Patron Provider, Top Host, Veteran
    edited May 2013

    @Raymii said: Thanks for the tips guys!

    My understanding after a little research is that most SSDs will not have trim enabled by default by the OS.

  • PatrickPatrick Member

    @Raymii said: What firmware are you running?

    I use Samsung 830 so it'll be different to the FW for 840s
    Its CXM03B1Q for me

  • happelhappel Member

    Trim shouldn't matter on such a new drive/fresh install imho.

    OS X isn't the problem either.

    I get a solid 130MiB/s with a 128GiB Crucial M4 with my 2006 Macbook (running 10.6) which is the limit of the SATA 1 interface :-).

  • Remy you should check if your Link Speed is at 6Gbps and download Trim Enabler like @jarland mentioned.

    image

    btw I assume this 120MB/sec result is from your Storage VPS, not an SSD VPS, correct? :D

  • Also, what kind of speed results do you get with "Blackmagic Disk Speed Test"? (you can get it from the App Store for free)

    Here are mine (it's a 840 Pro though):

    image

  • gnugeekgnugeek Member
    edited May 2013

    macbook pro late 2011
    ssd gskill phoenix evo 115GB

    dd if=/dev/zero of=test bs=64k count=16k
    16384+0 records in
    16384+0 records out
    1073741824 bytes transferred in 4.274925 secs (251172085 bytes/sec)

  • I have an early 2011 mbp with a third party (san disk) ssd:
    $ dd if=/dev/zero of=test bs=64k count=16k; unlink test 16384+0 records in 16384+0 records out 1073741824 bytes transferred in 2.056330 secs (522164167 bytes/sec)

    It sounds like you might have a faulty drive (test it in another computer?) or faulty hardware

  • WilliamWilliam Member
    edited May 2013

    Macbook Pro, 2011 (with DP), Corsair 180Gb GT Force3 on SATA6G (HDD slot)
    480MB/s W / 520MB/s R in BlackMagic

    Don't forget to enable Trim (google Trim enabler) on a Macbook if you use a non Apple SSD or the performance will suck.

    Do also note if you use a HDD adapter kit for the CD/DVD drive that this port only has 3Gbit in hardware, a SSD there is not a good choice.

  • ChanChan Member

    On a 2010 MBP 15 inch with a Sandisk SSD from late last year (speed limited to SATA2)
    chan@mbp ~ $ dd if=/dev/zero of=test bs=64k count=16k 16384+0 records in 16384+0 records out 1073741824 bytes transferred in 4.106534 secs (261471553 bytes/sec)
    *TRIM is enabled

    @William
    I thought you bought a new Macbook last year?

Sign In or Register to comment.