Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #33188
| From | The Natural Philosopher <tnp@invalid.invalid> |
|---|---|
| Newsgroups | comp.os.linux.misc |
| Subject | Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? |
| Date | 2021-09-08 13:06 +0100 |
| Organization | A little, after lunch |
| Message-ID | <sha900$ooa$1@dont-email.me> (permalink) |
| References | (17 earlier) <sh759c$592$1@dont-email.me> <EMydnUn6a49c1qX8nZ2dnUU7-KPNnZ2d@earthlink.com> <87o8938q6k.fsf@LkoBDZeT.terraraq.uk> <sha1ec$5h4$1@dont-email.me> <87czpj8gnr.fsf@LkoBDZeT.terraraq.uk> |
On 08/09/2021 12:12, Richard Kettlewell wrote: > The Natural Philosopher <tnp@invalid.invalid> writes: >> On 08/09/2021 08:46, Richard Kettlewell wrote: >>> SevenOverSix <hae274c.net> writes: >>>> On 9/7/21 3:44 AM, The Natural Philosopher wrote: >>>>> Give me *some* credit for knowing how to code a multitasker and in >>>>> interrupt service routine >>>> >>>> Oh, I'll give due credit. Your code IS a good byte-saver. >>>> However I've always had a good sense of how bits of code >>>> can go wrong. You code is perfectly good - but within a >>>> certain context/environment. As I said, WHICH stack are >>>> you popping from ? >>> >>> TNP’s space optimization doesn’t affect the meaning of the code. POP >>> uses the same SP regardless of where the instruction is located. You are >>> talking nonsense. >>> >> Thanks Richard. >> >> On the matter of caching, It's been bothering me...surely even if the >> instruction set is cached, a JMP instruction still takes time, or has >> the processor simply 'cut and pasted' the instruction block into the >> pipeline and elided the JMP altogether? > > Suppose you have many consecutive functions with the common tail, and > you execute all of them once. > > For each of those functions, the object code of the function must be > loaded from main memory into cache. The number of loads from main memory > is proportional to the sum of the sizes of the functions. > > Now suppose all but one of the functions have that tail replaced by a > JMP to the first function’s version. > > They do indeed incur a small extra cost for the JMP, but after the first > of them has executed, and _if_ the reduced size means you’ve reduced the > total amount of code that must be read, the number of loads from main > memory is reduced. > > Loads from main memory are incredibly slow compared to executing single > instructions - think 10x or 100x as long. The extra cost of the JMP is > lost in the noise. > > This is a very simple model; in reality you won’t notice the > sub-microsecond savings from eliminating a handful of memory reads. The > real benefit comes when the space optimization squeezes the working set > of a long-running program down from a bit bigger than the total cache > size to a bit smaller. > > The effect scales: if you can reduce the number of memory pages your > program takes, you reduce the number of disk reads, and those are > even slower. > Thanks. That makes it clear. So in fact lots of very small often used subroutines might be faster than inline coding? Rather counter intuitive, that. -- When plunder becomes a way of life for a group of men in a society, over the course of time they create for themselves a legal system that authorizes it and a moral code that glorifies it. Frédéric Bastiat
Back to comp.os.linux.misc | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Is Debian still good for GUI stuff in an over 12 yrs. old PC? ant@zimage.comANT (Ant) - 2021-08-30 18:22 -0500
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Roger Blake <rogblake@iname.invalid> - 2021-08-31 00:14 +0000
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Bobbie Sellers <bliss@mouse-potato.com> - 2021-08-30 17:57 -0700
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-08-31 04:39 +0100
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Joerg Lorenz <hugybear@gmx.ch> - 2021-08-31 15:19 +0200
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-08-31 14:34 +0100
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Joerg Lorenz <hugybear@gmx.ch> - 2021-08-31 16:16 +0200
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-08-31 15:47 +0100
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Joerg Lorenz <hugybear@gmx.ch> - 2021-08-31 18:54 +0200
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-08-31 17:59 +0100
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Bobbie Sellers <bliss@mouse-potato.com> - 2021-08-31 11:52 -0700
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2021-09-01 04:21 +0000
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SixOverFive <hae274c.net> - 2021-08-31 01:07 -0400
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Marc Haber <mh+usenetspam1118@zugschl.us> - 2021-08-31 11:01 +0200
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SixOverFive <hae274c.net> - 2021-08-31 11:01 -0400
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Marc Haber <mh+usenetspam1118@zugschl.us> - 2021-09-01 11:07 +0200
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Andreas Kohlbach <ank@spamfence.net> - 2021-09-01 07:55 -0400
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-09-01 13:10 +0100
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SixOverFive <hae274c.net> - 2021-09-01 23:58 -0400
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? "Carlos E. R." <robin_listas@es.invalid> - 2021-09-02 13:04 +0200
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SixOverFive <hae274c.net> - 2021-09-03 01:56 -0400
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Marc Haber <mh+usenetspam1118@zugschl.us> - 2021-09-03 08:44 +0200
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? "Carlos E. R." <robin_listas@es.invalid> - 2021-09-03 11:22 +0200
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SixOverFive <hae274c.net> - 2021-09-04 00:31 -0400
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Marc Haber <mh+usenetspam1118@zugschl.us> - 2021-09-04 10:56 +0200
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Joerg Lorenz <hugybear@gmx.ch> - 2021-09-04 11:44 +0200
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Bobbie Sellers <bliss@mouse-potato.com> - 2021-09-04 08:04 -0700
OT Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Rinaldi <rm@nunya.inv> - 2021-09-04 10:28 -0500
Re: OT Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Bobbie Sellers <bliss@mouse-potato.com> - 2021-09-04 08:41 -0700
Re: OT Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-09-04 18:33 +0100
Re: OT Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SixOverFive <hae274c.net> - 2021-09-05 00:53 -0400
Re: OT Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Joerg Lorenz <hugybear@gmx.ch> - 2021-09-05 08:57 +0200
Re: OT Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Andreas Kohlbach <ank@spamfence.net> - 2021-09-05 12:12 -0400
Re: OT Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SixOverFive <hae274c.net> - 2021-09-05 20:01 -0400
Re: OT Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Bobbie Sellers <bliss@mouse-potato.com> - 2021-09-04 08:42 -0700
Re: OT Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Bobbie Sellers <bliss@mouse-potato.com> - 2021-09-04 08:45 -0700
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-09-04 18:32 +0100
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Andreas Kohlbach <ank@spamfence.net> - 2021-09-03 19:51 -0400
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SixOverFive <hae274c.net> - 2021-09-03 23:48 -0400
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Richard Kettlewell <invalid@invalid.invalid> - 2021-09-04 08:44 +0100
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SixOverFive <hae274c.net> - 2021-09-05 00:07 -0400
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Richard Kettlewell <invalid@invalid.invalid> - 2021-09-05 08:16 +0100
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-09-05 09:36 +0100
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Richard Kettlewell <invalid@invalid.invalid> - 2021-09-05 12:50 +0100
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Dan Espen <dan1espen@gmail.com> - 2021-09-05 09:33 -0400
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? "Carlos E. R." <robin_listas@es.invalid> - 2021-09-04 11:22 +0200
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Joerg Lorenz <hugybear@gmx.ch> - 2021-09-04 11:46 +0200
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Stéphane CARPENTIER <sc@fiat-linux.fr> - 2021-09-04 17:47 +0000
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-09-05 09:35 +0100
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SixOverFive <hae274c.net> - 2021-09-05 19:34 -0400
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? "Carlos E. R." <robin_listas@es.invalid> - 2021-09-06 02:14 +0200
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-09-06 08:43 +0100
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-09-06 08:45 +0100
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SevenOverSix <hae274c.net> - 2021-09-07 01:54 -0400
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-09-07 08:44 +0100
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SevenOverSix <hae274c.net> - 2021-09-08 01:36 -0400
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-09-08 07:46 +0100
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SevenOverSix <hae274c.net> - 2021-09-09 01:53 -0400
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-09-09 07:41 +0100
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SevenOverSix <hae274c.net> - 2021-09-10 01:52 -0400
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Richard Kettlewell <invalid@invalid.invalid> - 2021-09-08 08:46 +0100
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-09-08 10:57 +0100
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Richard Kettlewell <invalid@invalid.invalid> - 2021-09-08 12:12 +0100
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-09-08 13:06 +0100
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Richard Kettlewell <invalid@invalid.invalid> - 2021-09-08 13:29 +0100
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2021-09-08 14:17 +0300
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SevenOverSix <hae274c.net> - 2021-09-09 02:04 -0400
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-09-09 07:46 +0100
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SevenOverSix <hae274c.net> - 2021-09-10 02:51 -0400
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Richard Kettlewell <invalid@invalid.invalid> - 2021-09-10 09:49 +0100
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SevenOverSix <hae274c.net> - 2021-09-11 02:03 -0400
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-09-11 07:19 +0100
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Richard Kettlewell <invalid@invalid.invalid> - 2021-09-11 08:32 +0100
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SevenOverSix <hae274c.net> - 2021-09-12 00:17 -0400
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Richard Kettlewell <invalid@invalid.invalid> - 2021-09-12 09:09 +0100
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SevenOverSix <hae274c.net> - 2021-09-12 23:43 -0400
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-09-12 11:33 +0100
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2021-09-06 11:08 +0300
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-09-06 09:24 +0100
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2021-09-06 12:38 +0300
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-09-06 12:21 +0100
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SevenOverSix <hae274c.net> - 2021-09-07 02:20 -0400
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Richard Kettlewell <invalid@invalid.invalid> - 2021-09-06 11:39 +0100
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-09-06 12:22 +0100
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Marc Haber <mh+usenetspam1118@zugschl.us> - 2021-09-02 09:29 +0200
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-09-02 09:48 +0100
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SixOverFive <hae274c.net> - 2021-09-01 23:32 -0400
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Marc Haber <mh+usenetspam1118@zugschl.us> - 2021-09-02 09:30 +0200
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SixOverFive <hae274c.net> - 2021-09-03 00:04 -0400
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Stéphane CARPENTIER <sc@fiat-linux.fr> - 2021-09-04 17:58 +0000
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SixOverFive <hae274c.net> - 2021-09-05 00:22 -0400
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Marc Haber <mh+usenetspam1118@zugschl.us> - 2021-08-31 10:59 +0200
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-08-31 10:46 +0100
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-08-31 10:50 +0100
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-08-31 10:57 +0100
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Marc Haber <mh+usenetspam1118@zugschl.us> - 2021-09-01 11:09 +0200
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-09-01 10:42 +0100
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? "Carlos E. R." <robin_listas@es.invalid> - 2021-09-01 13:47 +0200
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Stéphane CARPENTIER <sc@fiat-linux.fr> - 2021-09-04 18:09 +0000
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Andreas Kohlbach <ank@spamfence.net> - 2021-08-31 06:04 -0400
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-08-31 11:42 +0100
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? TJ <TJ@noneofyour.business> - 2021-09-14 22:42 -0400
Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2021-09-16 08:02 +0000
csiph-web