Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Feb 2015 20:14:02 -0500
From:      Allan Jude <allanjude@freebsd.org>
To:        freebsd-current@freebsd.org
Subject:   Re: Weird behavior writing to SSD on 2013 MacBook
Message-ID:  <54D2C3DA.4060205@freebsd.org>
In-Reply-To: <CAASDrV=d=7aGdsDzDxRS2aXW%2BtWijVmNWrCNSYLWrWWvgwYx6Q@mail.gmail.com>
References:  <CAASDrV=d=7aGdsDzDxRS2aXW%2BtWijVmNWrCNSYLWrWWvgwYx6Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--35nTCpU7rNIWHDPAS2hDBLTF4CvlTMTHt
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 2015-02-04 19:29, Lundberg, Johannes wrote:
> Hi
>=20
> I'm thought I was gonna do some test runs with HEAD on a 2013 Macbook A=
ir
> and noticed some weird behavior regarding disk I/O.
>=20
> This happens both when doing portsnap extract and clone from git reposi=
tory.
>=20
> For example portsnap extract, the extraction process (the output of it)=

> suddenly stops, for seconds or maybe even minutes, quite many times dur=
ing
> the whole extraction process.
> iostat reports ~200 MB/s on ada0 the whole time during freeze.
>=20
>=20
> pciconf:
>=20
> ahci0@pci0:4:0:0:    class=3D0x010601 card=3D0x91831b4b chip=3D0x91831b=
4b
> rev=3D0x14 hdr=3D0x00
>     vendor     =3D 'Marvell Technology Group Ltd.'
>     class      =3D mass storage
>     subclass   =3D SATA
>=20
>=20
> dmesg (relevant lines?):
>=20
> ahci0: <Marvell 88SS9183 AHCI SATA controller> port
> 0x1028-0x102f,0x1034-0x1037,0x1020-0x1027,0x1030-0x1033,0x1000-0x101f m=
em
> 0xb0700000-0xb07001ff at device 0.0 on pci4
> ahci0: AHCI v1.00 with 1 6Gbps ports, Port Multiplier not supported
> ahcich0: <AHCI channel> at channel 0 on ahci0
>=20
> ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
> ada0: <APPLE SSD SD0128F A222821> ATA-8 SATA 3.x device
> ada0: Serial Number 1325A5401681 \^T\^T\^T\^T\^T\^T\^T
> ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 512bytes)
> ada0: Command Queueing enabled
> ada0: 115712MB (236978176 512 byte sectors: 16H 63S/T 16383C)
> ada0: Previously was known as ad4
>=20
> GEOM: ada0: enabling Boot Camp
> GEOM: diskid/DISK-1325A5401681%20%14%14%14%14%14%14%14: enabling Boot C=
amp
>=20
>=20
> gpart:
>=20
> =3D>       34  236978109  ada0  GPT  (113G)
>          34          6        - free -  (3.0K)
>          40     409600     1  efi  (200M)
>      409640  174519128     2  apple-hfs  (83G)
>   174928768    1269536     3  apple-boot  (620M)
>   176198304       1376        - free -  (688K)
>   176199680   29782016     4  linux-data  (14G)
>   205981696    2097152     5  linux-swap  (1.0G)
>   208078848       1600     6  efi  (800K)
>   208080448   27261368     7  freebsd-ufs  (13G)
>   235341816    1445888     8  freebsd-swap  (706M)
>   236787704     190439        - free -  (93M)
>=20
>=20
> One other weird thing is that FreeBSD does not show up in the refind bo=
ot
> menu by default, only OSX and Linux. I have to press ESC once to reload=
 for
> FreeBSD boot option to show up.. Any clues? Is my partition configurati=
on
> wrong in some way?
>=20
> Thanks!
> --
> Johannes Lundberg
> BRILLIANTSERVICE CO., LTD.
>=20

For the disk io bit, try running 'gstat' instead of iostat, and see what
it says.

--=20
Allan Jude


--35nTCpU7rNIWHDPAS2hDBLTF4CvlTMTHt
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQIcBAEBAgAGBQJU0sPdAAoJEJrBFpNRJZKfzRsQALf9AtRhrV1+5E1VNVAFWzew
6JDXNSPXxkHeJcMvpluBYyQXBUiRUNj61PVe1JAEPbUAZVVsaQmQ9k2YOUJJ9h+4
n1marzP5yMXEJTFy8Nzod1s3gosW7FIR0dloNCWgaSI1WI9dp3XRjufB348tdVg+
Gyw8K2K1fHOu8iCPoJYqbmwfE4XZ4fN0s6fYE3y7SZxN2UrutS2xYp2QfPF+mhQm
mLbygptl/k5yYlWQb0qbGivNwfeixd57twmWB5NlxgJIEJBFydUogSK/9DODkfNk
c27rPXI5sOELU+UPm4Aj0r2R1/t7pE4ITzMrw2iNhBBik3C+T8dlghJLWSGBDGgb
/aovVuM4yhrlTOf/WkFDHrJJuBSDsmHLZwoTYqJMIKLVyRaGsZHfpkiqP9PSLt2f
dv+qz0tuaMToXoXIkOkRIvFGfZNppsBxxiOYOx4YDthhuXzmnguRzOQ+FhmFyE0H
BWqD2ueyWoWYKWPgmtmQUxwZmuiYAG45mYg0Ytr9Lm+jpLcl5oJyLBG5J2BxieDo
l7KYRYNJNjWC83c7J2QkRRYJHaZi8QKvynU2j4a1UD0+M76JS7y5p5YEnr6zw/b3
v0xcFaI9v78TfF24l+pLds/6tL8jztMZNjYR4qgmPiONmum82c0lms5Pq0wRouwM
ADHy1DJy/u9Lq2lFWTt7
=qpJL
-----END PGP SIGNATURE-----

--35nTCpU7rNIWHDPAS2hDBLTF4CvlTMTHt--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54D2C3DA.4060205>