Re: Re: How much value does llvm provide for a low-use laptop?

Mark Knecht <[email protected]> Sat, 22 Apr 2017 11:38:59 -0700
Newsgroups gmane.linux.gentoo.amd64
Message-ID <CAK2H+efRYKMXTGr=_0BC+eLauCwpf-8kgf68awHw22PM3jYfxA@mail.gmail.com>
--001a114901da06b5b8054dc5b0c8
Content-Type: text/plain; charset=UTF-8

On Tue, Apr 18, 2017 at 1:04 PM, Marc Joliet <[email protected]> wrote:
>
> On Montag, 17. April 2017 03:17:21 CEST Duncan wrote:
> > Martin Vaeth posted on Sun, 16 Apr 2017 18:01:00 +0000 as excerpted:
> > > Duncan <[email protected]> wrote:
> > >> If you're not using radeon/amdgpu, you can probably disable it with
> > >> little consequence.
> > >
> > > Googleearth on intel's graphics card becomes unusable slow if mesa is
> > > compiled without llvm.
> >
> > Thanks.  I wasn't aware Intel graphics used llvm too.  Now I am. =:^)
>
> I'm not sure, but even if they didn't, AFAIK mesa uses LLVM to speed up
CPU
> rendering, so you would probably want it regardless (my understanding is:
in
> any case where a driver doesn't implement a particular OpenGL function, a
> software implementation can be used instead, and that can be accelerated/
> optimised by LLVM).
>
> > Does anyone know about nVidia graphics, both servantware and
freedomware?
> > I'm guessing the servantware doesn't use it, but the freedomware very
> > well could, if both Intel and AMD are doing so.
>
> I would be surprised if the nouveau driver didn't use LLVM, too, but I
don't
> know for sure.  No idea about nvidia.
>
> > And while we're on the topic, last I knew nVidia had no plans to do
> > wayland with their servantware at all.  Any hints of that changing?
>
> No idea, sorry (also, I don't care ;-) ).
>
> Greetings
> --
> Marc Joliet

Just a follow-up.

I got rid of llvm on my Gentoo nvidia machine and so far see no ill
effects. Granted, I'm using an i7 980 Extreme, 24GB with an nvidia
960-based card, so it's pretty good hardware but I've seen no ill effects
so far.

Additionally, with Google releasing Google Earth as a web app at least
inside of Chrome it runs fine. Pan/zoom/tilt 3D views of the world. Lots of
fun and if it was faster with llvm I don't think I'd notice it.

As for my wife's laptop which started this discussion I had an emerge 2
weeks ago of about 200 packages, mostly KDE, which took almost 24 hours to
build on a 5-6 year old laptop.This time around I have about 175 packages
today. We'll see how long it takes as a data point but I've decided to move
her to Ubuntu. I think I need to be spending my time more productively than
building this much code this often. I already run Ubuntu as a VM on my
Gentoo machine due to apps not supported (or not building correctly) by
Gentoo in portage. Sad as it will be the first non-Gentoo boot in my house
in about 15 years.

--001a114901da06b5b8054dc5b0c8
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><br>On Tue, Apr 18, 2017 at 1:04 PM, Marc Joliet &lt;<=
a href=3D"mailto:[email protected]">[email protected]</a>&gt; wrote:<br>&gt;<br>&gt=
; On Montag, 17. April 2017 03:17:21 CEST Duncan wrote:<br>&gt; &gt; Martin=
 Vaeth posted on Sun, 16 Apr 2017 18:01:00 +0000 as excerpted:<br>&gt; &gt;=
 &gt; Duncan &lt;<a href=3D"mailto:[email protected]">[email protected]=
et</a>&gt; wrote:<br>&gt; &gt; &gt;&gt; If you&#39;re not using radeon/amdg=
pu, you can probably disable it with<br>&gt; &gt; &gt;&gt; little consequen=
ce.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Googleearth on intel&#39;s graphics=
 card becomes unusable slow if mesa is<br>&gt; &gt; &gt; compiled without l=
lvm.<br>&gt; &gt;<br>&gt; &gt; Thanks.=C2=A0 I wasn&#39;t aware Intel graph=
ics used llvm too.=C2=A0 Now I am. =3D:^)<br>&gt;<br>&gt; I&#39;m not sure,=
 but even if they didn&#39;t, AFAIK mesa uses LLVM to speed up CPU<br>&gt; =
rendering, so you would probably want it regardless (my understanding is: i=
n<br>&gt; any case where a driver doesn&#39;t implement a particular OpenGL=
 function, a<br>&gt; software implementation can be used instead, and that =
can be accelerated/<br>&gt; optimised by LLVM).<br>&gt;<br>&gt; &gt; Does a=
nyone know about nVidia graphics, both servantware and freedomware?<br>&gt;=
 &gt; I&#39;m guessing the servantware doesn&#39;t use it, but the freedomw=
are very<br>&gt; &gt; well could, if both Intel and AMD are doing so.<br>&g=
t;<br>&gt; I would be surprised if the nouveau driver didn&#39;t use LLVM, =
too, but I don&#39;t<br>&gt; know for sure.=C2=A0 No idea about nvidia.<br>=
&gt;<br>&gt; &gt; And while we&#39;re on the topic, last I knew nVidia had =
no plans to do<br>&gt; &gt; wayland with their servantware at all.=C2=A0 An=
y hints of that changing?<br>&gt;<br>&gt; No idea, sorry (also, I don&#39;t=
 care ;-) ).<br>&gt;<br>&gt; Greetings<br>&gt; --<br>&gt; Marc Joliet<br><d=
iv><br></div><div>Just a follow-up.</div><div><br></div><div>I got rid of l=
lvm on my Gentoo nvidia machine and so far see no ill effects. Granted, I&#=
39;m using an i7 980 Extreme, 24GB with an nvidia 960-based card, so it&#39=
;s pretty good hardware but I&#39;ve seen no ill effects so far.</div><div>=
<br></div><div>Additionally, with Google releasing Google Earth as a web ap=
p at least inside of Chrome it runs fine. Pan/zoom/tilt 3D views of the wor=
ld. Lots of fun and if it was faster with llvm I don&#39;t think I&#39;d no=
tice it.</div><div><br></div><div>As for my wife&#39;s laptop which started=
 this discussion I had an emerge 2 weeks ago of about 200 packages, mostly =
KDE, which took almost 24 hours to build on a 5-6 year old laptop.This time=
 around I have about 175 packages today. We&#39;ll see how long it takes as=
 a data point but I&#39;ve decided to move her to Ubuntu. I think I need to=
 be spending my time more productively than building this much code this of=
ten. I already run Ubuntu as a VM on my Gentoo machine due to apps not supp=
orted (or not building correctly) by Gentoo in portage. Sad as it will be t=
he first non-Gentoo boot in my house in about 15 years.</div></div>

--001a114901da06b5b8054dc5b0c8--