Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.raspberry-pi > #20383 > unrolled thread

Raspberry Pi 4 - fast enough for a desktop?

Started byJames Harris <james.harris.1@gmail.com>
First post2019-06-29 01:42 -0700
Last post2019-10-14 20:33 +0100
Articles 20 on this page of 78 — 22 participants

Back to article view | Back to comp.sys.raspberry-pi


Contents

  Raspberry Pi 4 - fast enough for a desktop? James Harris <james.harris.1@gmail.com> - 2019-06-29 01:42 -0700
    Re: Raspberry Pi 4 - fast enough for a desktop? Roger Bell_West <roger+csrp201906@nospam.firedrake.org> - 2019-06-29 11:28 +0000
    Re: Raspberry Pi 4 - fast enough for a desktop? Martin Gregorie <martin@mydomain.invalid> - 2019-06-29 12:15 +0000
    Re: Raspberry Pi 4 - fast enough for a desktop? David Taylor <david-taylor@blueyonder.co.uk.invalid> - 2019-06-29 15:34 +0100
      Re: Raspberry Pi 4 - fast enough for a desktop? Martin Gregorie <martin@mydomain.invalid> - 2019-06-29 16:34 +0000
        Re: Raspberry Pi 4 - fast enough for a desktop? David Taylor <david-taylor@blueyonder.co.uk.invalid> - 2019-06-29 19:28 +0100
          Re: Raspberry Pi 4 - fast enough for a desktop? Martin Gregorie <martin@mydomain.invalid> - 2019-06-29 19:10 +0000
            Re: Raspberry Pi 4 - fast enough for a desktop? David Taylor <david-taylor@blueyonder.co.uk.invalid> - 2019-06-30 05:29 +0100
              Re: Raspberry Pi 4 - fast enough for a desktop? The Natural Philosopher <tnp@invalid.invalid> - 2019-06-30 09:39 +0100
                Re: Raspberry Pi 4 - fast enough for a desktop? Martin Gregorie <martin@mydomain.invalid> - 2019-06-30 12:57 +0000
    Re: Raspberry Pi 4 - fast enough for a desktop? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2019-06-29 12:48 -0400
      Re: Raspberry Pi 4 - fast enough for a desktop? Folderol <general@musically.me.uk> - 2019-06-29 19:24 +0100
        Re: Raspberry Pi 4 - fast enough for a desktop? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2019-06-29 17:11 -0400
          Re: Raspberry Pi 4 - fast enough for a desktop? A. Dumas <alexandre@dumas.fr.invalid> - 2019-06-29 23:32 +0000
            Re: Raspberry Pi 4 - fast enough for a desktop? The Natural Philosopher <tnp@invalid.invalid> - 2019-06-30 09:32 +0100
              Re: Raspberry Pi 4 - fast enough for a desktop? Martin Gregorie <martin@mydomain.invalid> - 2019-06-30 13:09 +0000
              Re: Raspberry Pi 4 - fast enough for a desktop? Richard Kettlewell <invalid@invalid.invalid> - 2019-06-30 21:02 +0100
                Re: Raspberry Pi 4 - fast enough for a desktop? The Natural Philosopher <tnp@invalid.invalid> - 2019-06-30 21:11 +0100
                  Re: Raspberry Pi 4 - fast enough for a desktop? Folderol <general@musically.me.uk> - 2019-07-01 07:05 +0100
                    Re: Raspberry Pi 4 - fast enough for a desktop? The Natural Philosopher <tnp@invalid.invalid> - 2019-07-01 10:06 +0100
                  Re: Raspberry Pi 4 - fast enough for a desktop? Richard Kettlewell <invalid@invalid.invalid> - 2019-07-01 08:32 +0100
                    Re: Raspberry Pi 4 - fast enough for a desktop? The Natural Philosopher <tnp@invalid.invalid> - 2019-07-01 10:06 +0100
                      Re: Raspberry Pi 4 - fast enough for a desktop? Richard Kettlewell <invalid@invalid.invalid> - 2019-07-01 10:59 +0100
                        Re: Raspberry Pi 4 - fast enough for a desktop? The Natural Philosopher <tnp@invalid.invalid> - 2019-07-01 12:07 +0100
                          Re: Raspberry Pi 4 - fast enough for a desktop? A. Dumas <alexandre@dumas.fr.invalid> - 2019-07-01 12:28 +0000
                            Re: Raspberry Pi 4 - fast enough for a desktop? Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2019-07-01 16:00 +0000
                              Re: Raspberry Pi 4 - fast enough for a desktop? The Natural Philosopher <tnp@invalid.invalid> - 2019-07-01 18:32 +0100
                                Re: Raspberry Pi 4 - fast enough for a desktop? Michael J. Mahon <mjmahon@aol.com> - 2019-07-01 16:05 -0500
                                  Re: Raspberry Pi 4 - fast enough for a desktop? The Natural Philosopher <tnp@invalid.invalid> - 2019-07-02 09:10 +0100
                                    Re: Raspberry Pi 4 - fast enough for a desktop? druck <news@druck.org.uk> - 2019-07-02 21:12 +0100
                                      Re: Raspberry Pi 4 - fast enough for a desktop? Ahem A Rivet's Shot <steveo@eircom.net> - 2019-07-02 22:12 +0100
                                      Re: Raspberry Pi 4 - fast enough for a desktop? The Natural Philosopher <tnp@invalid.invalid> - 2019-07-03 09:27 +0100
                                      Re: Raspberry Pi 4 - fast enough for a desktop? Richard Kettlewell <invalid@invalid.invalid> - 2019-07-03 10:27 +0100
                Re: Raspberry Pi 4 - fast enough for a desktop? druck <news@druck.org.uk> - 2019-07-01 20:51 +0100
                  Re: Raspberry Pi 4 - fast enough for a desktop? David Higton <dave@davehigton.me.uk> - 2019-07-02 14:19 +0100
                    Re: Raspberry Pi 4 - fast enough for a desktop? druck <news@druck.org.uk> - 2019-07-02 21:29 +0100
                      Re: Raspberry Pi 4 - fast enough for a desktop? druck <news@druck.org.uk> - 2019-07-03 20:13 +0100
                    Re: Raspberry Pi 4 - fast enough for a desktop? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2019-07-02 19:17 -0400
    Re: Raspberry Pi 4 - fast enough for a desktop? druck <news@druck.org.uk> - 2019-06-30 10:13 +0100
    Re: Raspberry Pi 4 - fast enough for a desktop? Pancho <Pancho.Dontmaileme@outlook.com> - 2019-07-03 17:27 +0100
      Re: Raspberry Pi 4 - fast enough for a desktop? Theo <theom+news@chiark.greenend.org.uk> - 2019-07-04 12:25 +0100
      Re: Raspberry Pi 4 - fast enough for a desktop? James Harris <james.harris.1@gmail.com> - 2019-07-05 08:45 +0100
        Re: Raspberry Pi 4 - fast enough for a desktop? A. Dumas <alexandre@dumas.fr.invalid> - 2019-07-05 09:20 +0000
          Re: Raspberry Pi 4 - fast enough for a desktop? James Harris <james.harris.1@gmail.com> - 2019-07-05 10:43 +0100
            Re: Raspberry Pi 4 - fast enough for a desktop? Pancho <Pancho.Dontmaileme@outlook.com> - 2019-07-05 16:54 +0100
              Re: Raspberry Pi 4 - fast enough for a desktop? James Harris <james.harris.1@gmail.com> - 2019-07-06 09:25 +0100
                Re: Raspberry Pi 4 - fast enough for a desktop? Pancho <Pancho.Dontmaileme@outlook.com> - 2019-07-06 20:59 +0100
                  Re: Raspberry Pi 4 - fast enough for a desktop? James Harris <james.harris.1@gmail.com> - 2019-07-07 10:52 +0100
                    Re: Raspberry Pi 4 - fast enough for a desktop? A. Dumas <alexandre@dumas.fr.invalid> - 2019-07-07 10:20 +0000
                      Re: Raspberry Pi 4 - fast enough for a desktop? James Harris <james.harris.1@gmail.com> - 2019-07-07 12:30 +0100
                        Re: Raspberry Pi 4 - fast enough for a desktop? The Natural Philosopher <tnp@invalid.invalid> - 2019-07-07 15:26 +0100
                          Re: Raspberry Pi 4 - fast enough for a desktop? A. Dumas <alexandre@dumas.fr.invalid> - 2019-07-07 16:43 +0000
                      Re: Raspberry Pi 4 - fast enough for a desktop? Ahem A Rivet's Shot <steveo@eircom.net> - 2019-07-07 15:47 +0100
                        Re: Raspberry Pi 4 - fast enough for a desktop? A. Dumas <alexandre@dumas.fr.invalid> - 2019-07-07 16:43 +0000
                          Re: Raspberry Pi 4 - fast enough for a desktop? druck <news@druck.org.uk> - 2019-07-07 18:33 +0100
                            Re: Raspberry Pi 4 - fast enough for a desktop? The Natural Philosopher <tnp@invalid.invalid> - 2019-07-07 18:50 +0100
                      Re: Raspberry Pi 4 - fast enough for a desktop? Theo <theom+news@chiark.greenend.org.uk> - 2019-07-08 14:30 +0100
        Re: Raspberry Pi 4 - fast enough for a desktop? Martin Gregorie <martin@mydomain.invalid> - 2019-07-05 12:20 +0000
          Re: Raspberry Pi 4 - fast enough for a desktop? The Natural Philosopher <tnp@invalid.invalid> - 2019-07-05 13:57 +0100
            Re: Raspberry Pi 4 - fast enough for a desktop? Pancho <Pancho.Dontmaileme@outlook.com> - 2019-07-05 17:06 +0100
              Re: Raspberry Pi 4 - fast enough for a desktop? The Natural Philosopher <tnp@invalid.invalid> - 2019-07-05 22:54 +0100
    Re: Raspberry Pi 4 - fast enough for a desktop? Jeffrey Plum <nightguard2020@gmail.com> - 2019-07-06 16:37 -0700
      Re: Raspberry Pi 4 - fast enough for a desktop? James Harris <james.harris.1@gmail.com> - 2019-07-07 12:35 +0100
        Re: Raspberry Pi 4 - fast enough for a desktop? "Derek.Moody" <derek.moody@casterbridge.net> - 2019-07-09 11:37 +0100
          Re: Raspberry Pi 4 - fast enough for a desktop? Theo <theom+news@chiark.greenend.org.uk> - 2019-07-09 16:22 +0100
          Re: Raspberry Pi 4 - fast enough for a desktop? James Harris <james.harris.1@gmail.com> - 2019-07-13 19:00 +0100
            Re: Raspberry Pi 4 - fast enough for a desktop? Michael J. Mahon <mjmahon@aol.com> - 2019-07-16 21:36 -0500
              Re: Raspberry Pi 4 - fast enough for a desktop? Theo <theom+news@chiark.greenend.org.uk> - 2019-07-17 11:16 +0100
                Re: Raspberry Pi 4 - fast enough for a desktop? Roger Bell_West <roger+csrp201907@nospam.firedrake.org> - 2019-07-17 10:20 +0000
                Re: Raspberry Pi 4 - fast enough for a desktop? Michael J. Mahon <mjmahon@aol.com> - 2019-07-17 13:49 -0500
    Re: Raspberry Pi 4 - fast enough for a desktop? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2019-10-09 15:31 -0400
      Re: Raspberry Pi 4 - fast enough for a desktop? druck <news@druck.org.uk> - 2019-10-10 21:02 +0100
        Re: Raspberry Pi 4 - fast enough for a desktop? "NY" <me@privacy.net> - 2019-10-14 12:24 +0100
          Re: Raspberry Pi 4 - fast enough for a desktop? Chris Elvidge <chris@mshome.net> - 2019-10-14 13:01 +0100
            Re: Raspberry Pi 4 - fast enough for a desktop? Folderol <general@musically.me.uk> - 2019-10-14 14:00 +0100
              Re: Raspberry Pi 4 - fast enough for a desktop? Robert Riches <spamtrap42@jacob21819.net> - 2019-10-15 03:41 +0000
                Re: Raspberry Pi 4 - fast enough for a desktop? Folderol <general@musically.me.uk> - 2019-10-16 16:17 +0100
          Re: Raspberry Pi 4 - fast enough for a desktop? druck <news@druck.org.uk> - 2019-10-14 20:33 +0100

Page 1 of 4  [1] 2 3 4  Next page →


#20383 — Raspberry Pi 4 - fast enough for a desktop?

FromJames Harris <james.harris.1@gmail.com>
Date2019-06-29 01:42 -0700
SubjectRaspberry Pi 4 - fast enough for a desktop?
Message-ID<62d01d99-e5d8-40af-92df-5ae1970c48ea@googlegroups.com>
How, er, fast does it go? 

With some of the amazing specs of the Raspberry Pi 4 I wonder if the 4GB version would be fast enough to replace a desktop PC - just for basic computing such as web browsing, word processing, spreadsheets, file handing etc.

I ask because I have just been trying to use Twitter via Chromium on a Raspberry Pi 2 running Raspbian and Twitter was unusable. Half the tweet could be typed before any characters became visible and clicks within the text would take a while to move the cursor. 

So what do you guys think about how fast a 4GB RPi 4 would be in comparison?

[toc] | [next] | [standalone]


#20384

FromRoger Bell_West <roger+csrp201906@nospam.firedrake.org>
Date2019-06-29 11:28 +0000
Message-ID<20190629122639.0469392902023209@firedrake.org>
In reply to#20383
On 2019-06-29, James Harris wrote:
>With some of the amazing specs of the Raspberry Pi 4 I wonder if the 4GB version would be fast enough to replace a desktop PC - just for basic computing such as web browsing, word processing, spreadsheets, file handing etc.

It may well work… but modern web browsing is not "basic computing" any
more, but rather among the tougher tasks a machine will be asked to
undertake. Having lots more memory will certainly help.

R

[toc] | [prev] | [next] | [standalone]


#20385

FromMartin Gregorie <martin@mydomain.invalid>
Date2019-06-29 12:15 +0000
Message-ID<qf7koj$la9$1@news.albasani.net>
In reply to#20383
On Sat, 29 Jun 2019 01:42:01 -0700, James Harris wrote:

> How, er, fast does it go?
> 
> With some of the amazing specs of the Raspberry Pi 4 I wonder if the 4GB
> version would be fast enough to replace a desktop PC - just for basic
> computing such as web browsing, word processing, spreadsheets, file
> handing etc.
>
It sounds as if it would be fast enough and has enough connectivity to 
replace my house server (Dual Athlon with 4GB RAM) if I used a USB3 
external drive in place of its SATA internal drive.

However, when the Athlon box dies I'll probably replace it with a miniITX 
system running something an Intel i5 or i7  chip because I do some 
development on it and often move binaries between it and a couple of 
laptops, which both run x64 chips - the convenience of not having to 
recompile C code as part of that move is the main reason for not using an 
RPi 4 in this case. That and the fact that all my Intel kit runs under 
Fedora.
 

-- 
Martin    | martin at
Gregorie  | gregorie dot org

[toc] | [prev] | [next] | [standalone]


#20386

FromDavid Taylor <david-taylor@blueyonder.co.uk.invalid>
Date2019-06-29 15:34 +0100
Message-ID<qf7stu$vq1$1@dont-email.me>
In reply to#20383
On 29/06/2019 09:42, James Harris wrote:
> 
> How, er, fast does it go?
> 
> With some of the amazing specs of the Raspberry Pi 4 I wonder if the 4GB version would be fast enough to replace a desktop PC - just for basic computing such as web browsing, word processing, spreadsheets, file handing etc.
> 
> I ask because I have just been trying to use Twitter via Chromium on a Raspberry Pi 2 running Raspbian and Twitter was unusable. Half the tweet could be typed before any characters became visible and clicks within the text would take a while to move the cursor.
> 
> So what do you guys think about how fast a 4GB RPi 4 would be in comparison?

It's much faster then the RPi 2.  My initial tests on the 4 GB version 
suggest it would be fine for routine Web browsing, and for basic 
word/excel/etc. tasks.  Maybe even simple photo editing.  In short, 
everything which many users need, but not "power" users.

-- 
Cheers,
David
Web: http://www.satsignal.eu

[toc] | [prev] | [next] | [standalone]


#20387

FromMartin Gregorie <martin@mydomain.invalid>
Date2019-06-29 16:34 +0000
Message-ID<qf83u9$qpa$1@news.albasani.net>
In reply to#20386
On Sat, 29 Jun 2019 15:34:38 +0100, David Taylor wrote:

> On 29/06/2019 09:42, James Harris wrote:
>> 
>> How, er, fast does it go?
>> 
>> With some of the amazing specs of the Raspberry Pi 4 I wonder if the
>> 4GB version would be fast enough to replace a desktop PC - just for
>> basic computing such as web browsing, word processing, spreadsheets,
>> file handing etc.
>> 
>> I ask because I have just been trying to use Twitter via Chromium on a
>> Raspberry Pi 2 running Raspbian and Twitter was unusable. Half the
>> tweet could be typed before any characters became visible and clicks
>> within the text would take a while to move the cursor.
>> 
>> So what do you guys think about how fast a 4GB RPi 4 would be in
>> comparison?
> 
> It's much faster then the RPi 2.  My initial tests on the 4 GB version
> suggest it would be fine for routine Web browsing, and for basic
> word/excel/etc. tasks.  Maybe even simple photo editing.  In short,
> everything which many users need, but not "power" users.
>
Have you made any comparison of compilation speeds, say a decent-sized C 
programs? For comparison a program I wrote (9000 lines split into 15 
source files and 11 header files) takes:

 0.730 s on a Lenovo T440 (i5 at 1.9qGHZ, 8Gb RAM)  
 1.366 s on an AMD dualAthlon at 1.0 GHz, 4 GB RAM)
24.314 s on my RPI2, an early 512MB Pi 1B+ which claims 698 bogoMIPS

The T440 and the dual Athlon box are running Fedora 30 and the RPi is 
running  Raspbian 4.19.42. All three systems were fully updated on Friday.

I'd be most interested to know how its compilation speed compares with 
the dual Athlon because, if/when that dies, the obvious replacement 
candidates are an RPi 4 or an i5-equipped mini ITX system. 

 
-- 
Martin    | martin at
Gregorie  | gregorie dot org

[toc] | [prev] | [next] | [standalone]


#20390

FromDavid Taylor <david-taylor@blueyonder.co.uk.invalid>
Date2019-06-29 19:28 +0100
Message-ID<qf8ajp$fh8$1@dont-email.me>
In reply to#20387
On 29/06/2019 17:34, Martin Gregorie wrote:
[]
> Have you made any comparison of compilation speeds, say a decent-sized C
> programs? For comparison a program I wrote (9000 lines split into 15
> source files and 11 header files) takes:
> 
>   0.730 s on a Lenovo T440 (i5 at 1.9qGHZ, 8Gb RAM)
>   1.366 s on an AMD dualAthlon at 1.0 GHz, 4 GB RAM)
> 24.314 s on my RPI2, an early 512MB Pi 1B+ which claims 698 bogoMIPS
> 
> The T440 and the dual Athlon box are running Fedora 30 and the RPi is
> running  Raspbian 4.19.42. All three systems were fully updated on Friday.
> 
> I'd be most interested to know how its compilation speed compares with
> the dual Athlon because, if/when that dies, the obvious replacement
> candidates are an RPi 4 or an i5-equipped mini ITX system.

No, I haven't.  One compile that I have (NTP) took about 25 minutes on a 
RasPi-1, down to ~5 minutes on a 3B.  I would expect a factor in the 
order of perhaps two better for a 4 GB RasPi-4.  So /maybe/ your compile 
would come down to "a few seconds", but perhaps not as fast as the 
dual-Athlon.  As I noted, my comments referred to the generic "desktop" 
as per the thread title.

If you like to send me your program, and if it's not like most C/C++ 
programs I see which require about a day to get all the required 
libraries and then don't compile, I'd be happy to check it for you.  My 
address is on the bottom of my home page: https://www.satsignal.eu/  The 
second compile might be quicker if the OS is caching the source files. 
Oh, and would you mean graphical desktop (which I hardly ever use) or 
command-line?

-- 
Cheers,
David
Web: http://www.satsignal.eu

[toc] | [prev] | [next] | [standalone]


#20391

FromMartin Gregorie <martin@mydomain.invalid>
Date2019-06-29 19:10 +0000
Message-ID<qf8d29$r3n$1@news.albasani.net>
In reply to#20390
On Sat, 29 Jun 2019 19:28:09 +0100, David Taylor wrote:

> If you like to send me your program, and if it's not like most C/C++
> programs I see which require about a day to get all the required
> libraries and then don't compile, I'd be happy to check it for you.  My
> address is on the bottom of my home page: https://www.satsignal.eu/  The
> second compile might be quicker if the OS is caching the source files.
> Oh, and would you mean graphical desktop (which I hardly ever use) or
> command-line?

I'll pass on this, thanks: like quite a lot of developers I do have a 
personal support library or two and latish on a warm day like this has 
been, I'm quite likely to omit stuff I shouldn't.

One thing I forgot to mention is that all the times I quoted were for a 
second or third compile. 

Unsurprisingly, repeated compile times on the T440 and dual Athlon were a 
factor of 2-3 faster than the first compile. When I've looked in the past 
'top' has always made it obvious that this is due to Linux caching files 
in RAM. I was a little surprised to see that this effect was entirely 
absent for my Pi - obviously 500MB isn't enough memory to let file 
caching have any significant effect on compilation speed for non-trivial 
programs.


-- 
Martin    | martin at
Gregorie  | gregorie dot org

[toc] | [prev] | [next] | [standalone]


#20394

FromDavid Taylor <david-taylor@blueyonder.co.uk.invalid>
Date2019-06-30 05:29 +0100
Message-ID<qf9dqk$lor$1@dont-email.me>
In reply to#20391
On 29/06/2019 20:10, Martin Gregorie wrote:
[]
> I'll pass on this, thanks: like quite a lot of developers I do have a
> personal support library or two and latish on a warm day like this has
> been, I'm quite likely to omit stuff I shouldn't.
> 
> One thing I forgot to mention is that all the times I quoted were for a
> second or third compile.
> 
> Unsurprisingly, repeated compile times on the T440 and dual Athlon were a
> factor of 2-3 faster than the first compile. When I've looked in the past
> 'top' has always made it obvious that this is due to Linux caching files
> in RAM. I was a little surprised to see that this effect was entirely
> absent for my Pi - obviously 500MB isn't enough memory to let file
> caching have any significant effect on compilation speed for non-trivial
> programs.

Yes, that's one reason I bought the 4 GB model!  A pity I can't test for 
you, but my best estimate is that an RPi-4 would not disappoint.

-- 
Cheers,
David
Web: http://www.satsignal.eu

[toc] | [prev] | [next] | [standalone]


#20396

FromThe Natural Philosopher <tnp@invalid.invalid>
Date2019-06-30 09:39 +0100
Message-ID<qf9sfo$itf$1@dont-email.me>
In reply to#20394
On 30/06/2019 05:29, David Taylor wrote:
> On 29/06/2019 20:10, Martin Gregorie wrote:
> []
>> I'll pass on this, thanks: like quite a lot of developers I do have a
>> personal support library or two and latish on a warm day like this has
>> been, I'm quite likely to omit stuff I shouldn't.
>>
>> One thing I forgot to mention is that all the times I quoted were for a
>> second or third compile.
>>
>> Unsurprisingly, repeated compile times on the T440 and dual Athlon were a
>> factor of 2-3 faster than the first compile. When I've looked in the past
>> 'top' has always made it obvious that this is due to Linux caching files
>> in RAM. I was a little surprised to see that this effect was entirely
>> absent for my Pi - obviously 500MB isn't enough memory to let file
>> caching have any significant effect on compilation speed for non-trivial
>> programs.
> 
> Yes, that's one reason I bought the 4 GB model!  A pity I can't test for 
> you, but my best estimate is that an RPi-4 would not disappoint.
> 
remember that writing to a micro SD card is abominably slow. One should 
probably regard them as EAROM. Cached writes possibly more important 
than reads when compiling.

My Pi app needs fast scratch space to share between concurrently running 
proceses (one writes, the other reads). It only has 512MB RAM, so I 
configured a 1MB RAM drive on it.,

from /etc/fstab:

tmpfs /var/MiPiFi tmpfs nodev,nosuid,noexec,nodiratime,size=1M

That is a trick that might work if you know what tempoary filespace your 
compiler uses and how big they are.


-- 
"In our post-modern world, climate science is not powerful because it is 
true: it is true because it is powerful."

Lucas Bergkamp

[toc] | [prev] | [next] | [standalone]


#20400

FromMartin Gregorie <martin@mydomain.invalid>
Date2019-06-30 12:57 +0000
Message-ID<qfabkg$kfd$1@news.albasani.net>
In reply to#20396
On Sun, 30 Jun 2019 09:39:19 +0100, The Natural Philosopher wrote:

> remember that writing to a micro SD card is abominably slow. One should
> probably regard them as EAROM. Cached writes possibly more important
> than reads when compiling.
>
IIRC the article in The Register said its set up to boot from either SD 
card on a USB3 external storage device, so why bother with an SD card on 
it since its got two USB3 sockets: just stick an SSD or HDD in one of the 
USB3 sockets.
  
> That is a trick that might work if you know what tempoary filespace your
> compiler uses and how big they are.
>
Experience with my Athlon box shows that 4GB RAM allows enough disk 
caching to dramatically speed up both C and Java compilations.

I didn't notice quite such a speed up with an older Lenovo R61i (1.4GHz 
Core Duo chip and 3GB RAM), so it looks as though disk caching becomes a 
significant speed-up factor somewhere between 2 and 4 GB RAM. 


-- 
Martin    | martin at
Gregorie  | gregorie dot org

[toc] | [prev] | [next] | [standalone]


#20388

FromDennis Lee Bieber <wlfraed@ix.netcom.com>
Date2019-06-29 12:48 -0400
Message-ID<tm4fhepl30thkjnn7dp7supan1p3ddk4u6@4ax.com>
In reply to#20383
On Sat, 29 Jun 2019 01:42:01 -0700 (PDT), James Harris
<james.harris.1@gmail.com> declaimed the following:

>I ask because I have just been trying to use Twitter via Chromium on a Raspberry Pi 2 running Raspbian and Twitter was unusable. Half the tweet could be typed before any characters became visible and clicks within the text would take a while to move the cursor. 

	You would be moving from a 900MHz quad core (presuming you mean RPi 2
Model B) to a 1.5GHz quad core (Rpi 3B is 1.2GHz and RPi 3B+ is 1.4GHz).
Since Raspbian is still built as a unified (common to all models) 32-bit
OS, the 64-bit cores of the RPi 4 (and RPi 3) may be underutilized --
especially if one is running computationally heavy jobs. The 2B is running
60% of the speed of the 4B.

	The main speed up may be that the 4 appears to have true Ethernet
on-board, and not a USB<>Ethernet adapter. That means your keyboard/mouse
going through USB won't be competing with your network (presuming wired
Ethernet -- I'm not sure what impact using a WiFi connection would have).

	The other significant change may be in the graphics driver. From what
I've read, the 4 is capable of directly poking the graphics processor,
while older models have to go through some proprietary library.

	Using a USB3 external drive for user data and temp files (eg: mounting
/home and /var onto an external drive) might help speed some things up.



-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
	wlfraed@ix.netcom.com    http://wlfraed.microdiversity.freeddns.org/

[toc] | [prev] | [next] | [standalone]


#20389

FromFolderol <general@musically.me.uk>
Date2019-06-29 19:24 +0100
Message-ID<20190629192418.6eea69c5@devuan>
In reply to#20388
On Sat, 29 Jun 2019 12:48:12 -0400
Dennis Lee Bieber <wlfraed@ix.netcom.com> wrote:

>	You would be moving from a 900MHz quad core (presuming you mean RPi 2
>Model B) to a 1.5GHz quad core (Rpi 3B is 1.2GHz and RPi 3B+ is 1.4GHz).
>Since Raspbian is still built as a unified (common to all models) 32-bit
>OS, the 64-bit cores of the RPi 4 (and RPi 3) may be underutilized --
>especially if one is running computationally heavy jobs. The 2B is running
>60% of the speed of the 4B.

This really surprises (and disappoints) me. The debian base is capable of all
sorts of processor optimisations, and the people doing the Pi have the
advantage of knowing *exactly* what differences there are between models.

-- 
W J G

[toc] | [prev] | [next] | [standalone]


#20392

FromDennis Lee Bieber <wlfraed@ix.netcom.com>
Date2019-06-29 17:11 -0400
Message-ID<8cjfheh5o90c1dm4lvnjbqk9sucnj6dk93@4ax.com>
In reply to#20389
On Sat, 29 Jun 2019 19:24:18 +0100, Folderol <general@musically.me.uk>
declaimed the following:

>
>This really surprises (and disappoints) me. The debian base is capable of all
>sorts of processor optimisations, and the people doing the Pi have the
>advantage of knowing *exactly* what differences there are between models.

	And would have to maintain different downloads/builds confusing
neophytes. They already have to create a build different from pure Debian.
Debian has ARMEL, ARMHF, and 64-bit. The ARMHF is for devices for v7 ARM
architecture and a hardware floating point (VFP3, as I recall) -- but
Raspbian isn't the exact same...

https://wiki.debian.org/ArmPorts
"""
Raspbian - Uses the hard-float version of the "new" ABI (EABI) like Debian
armhf but targets v6 rather than v7. Currently tracks Debian jessie and
stretch. Primarily but not exclusively targeted at the Raspberry Pi. GNU
Triplet: arm-linux-gnueabihf
"""

ARM v6 has a different...

https://en.wikipedia.org/wiki/ARM_architecture
"""
VFPv2
    An optional extension to the ARM instruction set in the ARMv5TE,
ARMv5TEJ and ARMv6 architectures. VFPv2 has 16 64-bit FPU registers.

VFPv3 or VFPv3-D32
    Implemented on most Cortex-A8 and A9 ARMv7 processors. It is backwards
compatible with VFPv2, except that it cannot trap floating-point
exceptions. VFPv3 has 32 64-bit FPU registers as standard, adds VCVT
instructions to convert between scalar, float and double, adds immediate
mode to VMOV such that constants can be loaded into FPU registers.

VFPv3-D16
    As above, but with only 16 64-bit FPU registers. Implemented on
Cortex-R4 and R5 processors and the Tegra 2 (Cortex-A9).
"""


-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
	wlfraed@ix.netcom.com    http://wlfraed.microdiversity.freeddns.org/

[toc] | [prev] | [next] | [standalone]


#20393

FromA. Dumas <alexandre@dumas.fr.invalid>
Date2019-06-29 23:32 +0000
Message-ID<5d17f513$0$22363$e4fe514c@news.xs4all.nl>
In reply to#20392
Dennis Lee Bieber <wlfraed@ix.netcom.com> wrote:
> On Sat, 29 Jun 2019 19:24:18 +0100, Folderol <general@musically.me.uk>
> declaimed the following:
> 
>> 
>> This really surprises (and disappoints) me. The debian base is capable of all
>> sorts of processor optimisations, and the people doing the Pi have the
>> advantage of knowing *exactly* what differences there are between models.
> 
> 	And would have to maintain different downloads/builds confusing
> neophytes. They already have to create a build different from pure Debian.
> Debian has ARMEL, ARMHF, and 64-bit. The ARMHF is for devices for v7 ARM
> architecture and a hardware floating point (VFP3, as I recall) -- but
> Raspbian isn't the exact same...
> 
> https://wiki.debian.org/ArmPorts
> """
> Raspbian - Uses the hard-float version of the "new" ABI (EABI) like Debian
> armhf but targets v6 rather than v7. Currently tracks Debian jessie and
> stretch. Primarily but not exclusively targeted at the Raspberry Pi. GNU
> Triplet: arm-linux-gnueabihf
> """
> 
> ARM v6 has a different...
> 
> https://en.wikipedia.org/wiki/ARM_architecture
> """
> VFPv2
>     An optional extension to the ARM instruction set in the ARMv5TE,
> ARMv5TEJ and ARMv6 architectures. VFPv2 has 16 64-bit FPU registers.
> 
> VFPv3 or VFPv3-D32
>     Implemented on most Cortex-A8 and A9 ARMv7 processors. It is backwards
> compatible with VFPv2, except that it cannot trap floating-point
> exceptions. VFPv3 has 32 64-bit FPU registers as standard, adds VCVT
> instructions to convert between scalar, float and double, adds immediate
> mode to VMOV such that constants can be loaded into FPU registers.
> 
> VFPv3-D16
>     As above, but with only 16 64-bit FPU registers. Implemented on
> Cortex-R4 and R5 processors and the Tegra 2 (Cortex-A9).
> """

The work involved to maintain two concurrent releases (with a lot of
customisations) is their main reason apparently, yes, while the vast
majority of the install base (the Pis out there) isn't 64 bit compatible.
But their main software man also keeps saying: give me one good reason why
64 bit is better than 32. See their blog on the new Buster release. Well,
it gets a bit embarrassing with lost optimisations when the current chip is
armv8, for crying out loud. He says it doesn't make a difference but I
wonder.

[toc] | [prev] | [next] | [standalone]


#20395

FromThe Natural Philosopher <tnp@invalid.invalid>
Date2019-06-30 09:32 +0100
Message-ID<qf9s24$h6r$1@dont-email.me>
In reply to#20393
On 30/06/2019 00:32, A. Dumas wrote:
> Dennis Lee Bieber <wlfraed@ix.netcom.com> wrote:
>> On Sat, 29 Jun 2019 19:24:18 +0100, Folderol <general@musically.me.uk>
>> declaimed the following:
>>
>>>
>>> This really surprises (and disappoints) me. The debian base is capable of all
>>> sorts of processor optimisations, and the people doing the Pi have the
>>> advantage of knowing *exactly* what differences there are between models.
>>
>> 	And would have to maintain different downloads/builds confusing
>> neophytes. They already have to create a build different from pure Debian.
>> Debian has ARMEL, ARMHF, and 64-bit. The ARMHF is for devices for v7 ARM
>> architecture and a hardware floating point (VFP3, as I recall) -- but
>> Raspbian isn't the exact same...
>>
>> https://wiki.debian.org/ArmPorts
>> """
>> Raspbian - Uses the hard-float version of the "new" ABI (EABI) like Debian
>> armhf but targets v6 rather than v7. Currently tracks Debian jessie and
>> stretch. Primarily but not exclusively targeted at the Raspberry Pi. GNU
>> Triplet: arm-linux-gnueabihf
>> """
>>
>> ARM v6 has a different...
>>
>> https://en.wikipedia.org/wiki/ARM_architecture
>> """
>> VFPv2
>>      An optional extension to the ARM instruction set in the ARMv5TE,
>> ARMv5TEJ and ARMv6 architectures. VFPv2 has 16 64-bit FPU registers.
>>
>> VFPv3 or VFPv3-D32
>>      Implemented on most Cortex-A8 and A9 ARMv7 processors. It is backwards
>> compatible with VFPv2, except that it cannot trap floating-point
>> exceptions. VFPv3 has 32 64-bit FPU registers as standard, adds VCVT
>> instructions to convert between scalar, float and double, adds immediate
>> mode to VMOV such that constants can be loaded into FPU registers.
>>
>> VFPv3-D16
>>      As above, but with only 16 64-bit FPU registers. Implemented on
>> Cortex-R4 and R5 processors and the Tegra 2 (Cortex-A9).
>> """
> 
> The work involved to maintain two concurrent releases (with a lot of
> customisations) is their main reason apparently, yes, while the vast
> majority of the install base (the Pis out there) isn't 64 bit compatible.
> But their main software man also keeps saying: give me one good reason why
> 64 bit is better than 32. See their blog on the new Buster release. Well,
> it gets a bit embarrassing with lost optimisations when the current chip is
> armv8, for crying out loud. He says it doesn't make a difference but I
> wonder.
> 
Wasn't the drive to 64 bit more about accessing more RAM?

I went 64 bit on my desktops for no good reason. The boards were there. 
Linux could drive them. Why not? Maybe a bit faster in computationally 
bound stuff like video processing

Biggest speed up for ME was SSD. Once you have enough RAM that is


Doing compiles out of an SD card disk is pants. Worse than even a hard 
drive.

I developed my Pi app on a 64 bit intel platform and only when it worked 
did it get compiled under Pi ARM.

Took ages BUT I assumed that was disk access speeds - I have only the SD 
card...


-- 
"The great thing about Glasgow is that if there's a nuclear attack it'll 
look exactly the same afterwards."

Billy Connolly

[toc] | [prev] | [next] | [standalone]


#20401

FromMartin Gregorie <martin@mydomain.invalid>
Date2019-06-30 13:09 +0000
Message-ID<qfaca1$kfd$2@news.albasani.net>
In reply to#20395
On Sun, 30 Jun 2019 09:32:03 +0100, The Natural Philosopher wrote:

> Wasn't the drive to 64 bit more about accessing more RAM?
> 
> I went 64 bit on my desktops for no good reason. The boards were there.
> Linux could drive them. Why not? Maybe a bit faster in computationally
> bound stuff like video processing
>
Agreed. I didn't notice much speed-up, if any, when I moved my Fedora 
systems from 32bit to 64 bit on the same hardware.
 
> Biggest speed up for ME was SSD. Once you have enough RAM that is
> 
Yep. When my Lenovo R61i's  120 GB HDD died I replaced it with a Sandisk 
128GB SSD - mainly because its disk supporting hardware wouldn't accept 
any disks I could buy (smallest one anywhere was 320GB).

Now disk intensive operations that DON'T involve multiple accesses to the 
same file, e.g. booting it, backups and system upgrades are much faster 
than before but repeat compilation speeds and, of course, CPU intensive 
tasks such as rkhunter scans for binary changes, haven't changed very 
much at all.


-- 
Martin    | martin at
Gregorie  | gregorie dot org

[toc] | [prev] | [next] | [standalone]


#20404

FromRichard Kettlewell <invalid@invalid.invalid>
Date2019-06-30 21:02 +0100
Message-ID<87sgrqn8om.fsf@LkoBDZeT.terraraq.uk>
In reply to#20395
The Natural Philosopher <tnp@invalid.invalid> writes:

> On 30/06/2019 00:32, A. Dumas wrote:
>> The work involved to maintain two concurrent releases (with a lot of
>> customisations) is their main reason apparently, yes, while the vast
>> majority of the install base (the Pis out there) isn't 64 bit compatible.
>> But their main software man also keeps saying: give me one good reason why
>> 64 bit is better than 32. See their blog on the new Buster release. Well,
>> it gets a bit embarrassing with lost optimisations when the current chip is
>> armv8, for crying out loud. He says it doesn't make a difference but I
>> wonder.
>
> Wasn't the drive to 64 bit more about accessing more RAM?

More address space. CPUs with only 32-bit logical addressing can still
access more than 4GB physical RAM, but each process is still stuck in
4GB (often less in practice). That’s a problem both for certain lagre
applications, and for security improvements like ASLR.

64-bit GPRs are handy for some applications but rarely essential.

For both Intel and ARM the 64-bit instruction sets double the number of
architectural GPRs. Particularly on Intel where the 32-bit situation is
pretty poor, that’s a big improvement for anyone writing in assembler.

-- 
https://www.greenend.org.uk/rjk/

[toc] | [prev] | [next] | [standalone]


#20405

FromThe Natural Philosopher <tnp@invalid.invalid>
Date2019-06-30 21:11 +0100
Message-ID<qfb51f$krj$1@dont-email.me>
In reply to#20404
On 30/06/2019 21:02, Richard Kettlewell wrote:
> The Natural Philosopher <tnp@invalid.invalid> writes:
> 
>> On 30/06/2019 00:32, A. Dumas wrote:
>>> The work involved to maintain two concurrent releases (with a lot of
>>> customisations) is their main reason apparently, yes, while the vast
>>> majority of the install base (the Pis out there) isn't 64 bit compatible.
>>> But their main software man also keeps saying: give me one good reason why
>>> 64 bit is better than 32. See their blog on the new Buster release. Well,
>>> it gets a bit embarrassing with lost optimisations when the current chip is
>>> armv8, for crying out loud. He says it doesn't make a difference but I
>>> wonder.
>>
>> Wasn't the drive to 64 bit more about accessing more RAM?
> 
> More address space. CPUs with only 32-bit logical addressing can still
> access more than 4GB physical RAM, but each process is still stuck in
> 4GB (often less in practice). 

I remember coding a 6809 with 256K of ROM and 16k of RAM. In assembler. 
Page switching YUK!


That’s a problem both for certain lagre
> applications, and for security improvements like ASLR.
> 
> 64-bit GPRs are handy for some applications but rarely essential.
> 
> For both Intel and ARM the 64-bit instruction sets double the number of
> architectural GPRs. 

Ground penetrating radars?

Particularly on Intel where the 32-bit situation is
> pretty poor, that’s a big improvement for anyone writing in assembler.
> 

Yebbut thats not an itrinsic feature of 64 bit acrhitectures.

Andf compilers *know* about that so its not JUST in assembler


Anyway I think the opinion set is converging on the fact that more RAM 
is more important than a 64 bit distro


-- 
Canada is all right really, though not for the whole weekend.

"Saki"

[toc] | [prev] | [next] | [standalone]


#20406

FromFolderol <general@musically.me.uk>
Date2019-07-01 07:05 +0100
Message-ID<20190701070514.5a1e7a96@devuan>
In reply to#20405
On Sun, 30 Jun 2019 21:11:27 +0100
The Natural Philosopher <tnp@invalid.invalid> wrote:

>On 30/06/2019 21:02, Richard Kettlewell wrote:
>> The Natural Philosopher <tnp@invalid.invalid> writes:
>>   
>>> On 30/06/2019 00:32, A. Dumas wrote:  
>>>> The work involved to maintain two concurrent releases (with a lot of
>>>> customisations) is their main reason apparently, yes, while the vast
>>>> majority of the install base (the Pis out there) isn't 64 bit compatible.
>>>> But their main software man also keeps saying: give me one good reason why
>>>> 64 bit is better than 32. See their blog on the new Buster release. Well,
>>>> it gets a bit embarrassing with lost optimisations when the current chip is
>>>> armv8, for crying out loud. He says it doesn't make a difference but I
>>>> wonder.  
>>>
>>> Wasn't the drive to 64 bit more about accessing more RAM?  
>> 
>> More address space. CPUs with only 32-bit logical addressing can still
>> access more than 4GB physical RAM, but each process is still stuck in
>> 4GB (often less in practice).   
>
>I remember coding a 6809 with 256K of ROM and 16k of RAM. In assembler. 
>Page switching YUK!
>
>
>That’s a problem both for certain lagre
>> applications, and for security improvements like ASLR.
>> 
>> 64-bit GPRs are handy for some applications but rarely essential.
>> 
>> For both Intel and ARM the 64-bit instruction sets double the number of
>> architectural GPRs.   
>
>Ground penetrating radars?
>
>Particularly on Intel where the 32-bit situation is
>> pretty poor, that’s a big improvement for anyone writing in assembler.
>>   
>
>Yebbut thats not an itrinsic feature of 64 bit acrhitectures.
>
>Andf compilers *know* about that so its not JUST in assembler
>
>
>Anyway I think the opinion set is converging on the fact that more RAM 
>is more important than a 64 bit distro

The difference is not trivial if you are doing complex and high resolution
video and/or audio generation and processing. You are likely to be using
long ints and doubles in tight loops - and I'm not talking about just playing
MP3s.

On top of this I think there are extra features in the BCM2711 that the Pi
4 software doesn't use in order to maintain compatibility.

I don't buy the argument about confusing newbies with different OS versions -
especially when these users are most likely to get the thing as a complete
package


-- 
W J G

[toc] | [prev] | [next] | [standalone]


#20408

FromThe Natural Philosopher <tnp@invalid.invalid>
Date2019-07-01 10:06 +0100
Message-ID<qfcied$7n3$2@dont-email.me>
In reply to#20406
On 01/07/2019 07:05, Folderol wrote:
> On Sun, 30 Jun 2019 21:11:27 +0100
> The Natural Philosopher <tnp@invalid.invalid> wrote:
> 
>> On 30/06/2019 21:02, Richard Kettlewell wrote:
>>> The Natural Philosopher <tnp@invalid.invalid> writes:
>>>    
>>>> On 30/06/2019 00:32, A. Dumas wrote:
>>>>> The work involved to maintain two concurrent releases (with a lot of
>>>>> customisations) is their main reason apparently, yes, while the vast
>>>>> majority of the install base (the Pis out there) isn't 64 bit compatible.
>>>>> But their main software man also keeps saying: give me one good reason why
>>>>> 64 bit is better than 32. See their blog on the new Buster release. Well,
>>>>> it gets a bit embarrassing with lost optimisations when the current chip is
>>>>> armv8, for crying out loud. He says it doesn't make a difference but I
>>>>> wonder.
>>>>
>>>> Wasn't the drive to 64 bit more about accessing more RAM?
>>>
>>> More address space. CPUs with only 32-bit logical addressing can still
>>> access more than 4GB physical RAM, but each process is still stuck in
>>> 4GB (often less in practice).
>>
>> I remember coding a 6809 with 256K of ROM and 16k of RAM. In assembler.
>> Page switching YUK!
>>
>>
>> That’s a problem both for certain lagre
>>> applications, and for security improvements like ASLR.
>>>
>>> 64-bit GPRs are handy for some applications but rarely essential.
>>>
>>> For both Intel and ARM the 64-bit instruction sets double the number of
>>> architectural GPRs.
>>
>> Ground penetrating radars?
>>
>> Particularly on Intel where the 32-bit situation is
>>> pretty poor, that’s a big improvement for anyone writing in assembler.
>>>    
>>
>> Yebbut thats not an itrinsic feature of 64 bit acrhitectures.
>>
>> Andf compilers *know* about that so its not JUST in assembler
>>
>>
>> Anyway I think the opinion set is converging on the fact that more RAM
>> is more important than a 64 bit distro
> 
> The difference is not trivial if you are doing complex and high resolution
> video and/or audio generation and processing. You are likely to be using
> long ints and doubles in tight loops - and I'm not talking about just playing
> MP3s.
> 

But who uses a Pi for that?

> On top of this I think there are extra features in the BCM2711 that the Pi
> 4 software doesn't use in order to maintain compatibility.
> 
> I don't buy the argument about confusing newbies with different OS versions -
> especially when these users are most likely to get the thing as a complete
> package
> 

I certainly did not.

> 


-- 
Truth welcomes investigation because truth knows investigation will lead 
to converts. It is deception that uses all the other techniques.

[toc] | [prev] | [next] | [standalone]


Page 1 of 4  [1] 2 3 4  Next page →

Back to top | Article view | comp.sys.raspberry-pi


csiph-web