Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jan 2021 09:09:05 -0300
From:      luporl <luporl@freebsd.org>
To:        Jeanie <jeanie@jeaniez.com>
Cc:        FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>
Subject:   Re: SAS Raid controllers
Message-ID:  <CAC7XEcKKAVhiteV7jx2Xt73hKWmyXULZcwuFj9K5ow4P3zcAig@mail.gmail.com>
In-Reply-To: <5bdeb808-57b5-e267-4f01-3e54e4250ef1@jeaniez.com>
References:  <fa203424-960f-c72c-367a-e4a101b8feb0@jeaniez.com> <e5775be21458401e5d664ffb25156681@bsdforge.com> <CAOpTx7Hi6REo=FF0uJTzoyoO4-=k_R=4zF%2B_Hj=2X1RJ7TCeAg@mail.gmail.com> <CAC7XEc%2BdzV2OTTn_aG7xp2tCWJrNZU5OYN-6WQRMGjos1f2vUg@mail.gmail.com> <5a2db57c-780c-8ba8-7076-9d044fa55c10@jeaniez.com> <CAC7XEcLHtMFDfOu=DipG--OCwP34y=CW5qr=7yKjW8A-OEG2xQ@mail.gmail.com> <5bdeb808-57b5-e267-4f01-3e54e4250ef1@jeaniez.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jan 22, 2021 at 7:34 PM Jeanie <jeanie@jeaniez.com> wrote:

>
>
> On 22/01/21 08:54, luporl wrote:
> > On Thu, Jan 21, 2021 at 9:10 PM Jeanie <jeanie@jeaniez.com> wrote:
> >
> >> Hi Leandro,
> >>
> >> On 20/01/21 07:04, luporl wrote:
> >>> On PowerPC64, the onboard Talos II SAS controller works fine too, using
> >>> FreeBSD 13 aacraid driver:
> >>>
> >>> aacraid0: <Adaptec RAID Controller> mem
> >>> 0x80000000-0x800fffff,0x80180000-0x801803ff irq 1038328 at device 0.0
> >>> numa-domain 0 on pci5
> >>> ...
> >>> aacraid0: SmartIOC 8i, aacraid driver 3.2.10-1
> >>>
> >>> - Leandro
> >> Sorry for the delay. Someone deleted my emails.
> >>
> >> You are using a SAS raid with PowerPC!!!!! Was it hard to make work? I
> >> am looking at the aacraid driver and it looks like add-on cards are
> >> available.
> >>
> >> Sincerely,
> >> Jeanie
> >>
> >>
> > Hi Jeanie,
> >
> > For me, with a recent FreeBSD 13 kernel, it just works, as the aacraid
> > driver is now included with the default PowerPC64 kernel.
> > But I'm using it with only one SAS drive, so I haven't tested its raid
> > capabilities.
> > The only complaint that I have is that, on my machine, disk writes are
> very
> > slow.
> >
> > - Leandro
> > _______________________________________________
> Hi Leandro,
>
> That was going to be my next question, what kernel you are using, but
> since you already answered it, I guess that I won't need to ask. I will
> update my source and give compiling a kernel a try.
>
> It is interesting that it is slow on writes. Maybe it is because you
> only have one drive? Have you looked into this any further?
>
> Sincerely,
> Jeanie
>
>
Hi Jeanie,

Even with one drive, the write speed should be higher.
Write speed on the Talos II machine that I use, with aacraid, is about only
3 or 4 MB/s, while on another PowerPC machine with a SATA controller it
reaches about 30 MB/s, during sequential write of a large file.
This Talos II machine also has NVMe, that reaches about 130 MB/s.

I've not looked further into this issue.
However, some months ago, when the aacraid driver was ported to big endian,
I've done some tests with it on another PowerPC machine and I didn't notice
writes being slow.
So, maybe this is an issue specific to my setup or maybe something in the
code changed from a few months ago that has degraded write performance.

Best regards,
- Leandro



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