linux-m68k.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Tuple and changes for m68k with -malign-int
@ 2025-05-21 17:36 John Klos
  2025-05-21 23:50 ` Finn Thain
  0 siblings, 1 reply; 85+ messages in thread
From: John Klos @ 2025-05-21 17:36 UTC (permalink / raw)
  Cc: debian-68k, linux-m68k, Libc-help

>> There's no real point being made here. Which packages aren't relevant
>> any more, due to bloat? Who decides?
>
> Users do. I've said so several times.
> https://lists.debian.org/debian-68k/2023/08/msg00023.html
> https://lists.debian.org/debian-68k/2024/10/msg00024.html
> https://lists.debian.org/debian-68k/2024/11/msg00019.html

None of those links are relevant to a discussion about software bloat 
and/or who decides if a package is suitable for m68k.


>> You're talking about irrelevant things and bringing nonsense examples in
>> to the discussion. Your examples lack technical merit.
>
> Perhaps you can show me the technical shortcomings of the patch I sent to
> the python project?

"your examples" refers to the "irrelevant things and bringing nonsense 
examples". Your replies that ignore what I'm clearly writing lead me to 
believe you're not engaging in good faith. It was literally in the 
previous sentence.


>> Your argument is that ABI breakage is death, and that projects and the
>> world are better when we tell people to fix their broken code.
>
> No, that's not what I said.

You literally wrote, "But, if it's not already dead, you will kill 
Debian/m68k if you break the ABI contract."


>> So can we all agree that there's no reason to not change alignment when
>> the time changes are done?
>
> We've been over that before too:
> https://lists.debian.org/debian-68k/2023/08/msg00023.html

The discussion at that link offers no reasoning for not doing the 
alignment change.


>> If you think that the work of getting projects to care about edge cases
>> isn't hard, then good for you - perhaps you should volunteer to do it.
>
> I did that already:
> https://lists.debian.org/debian-68k/2024/10/msg00042.html

You half heartedly offered to help with projects that don't accept 
upstream patches. Does this mean you also volunteer to contact them in the 
first place? Have you contacted anyone directly yourself, aside from 
sending an improved patch for python? For instance, have you contacted 
anyone regarding any of the issues with the packages in Adrian's list?


>> Are there so few fans of m68k that this will kill Debian/m68k?
>
> Once the ABI fragments, there is no "Linux/m68k" any longer. There are
> isolated groups of users/developers with limited ability to collaborate
> effectively.

So what do you suppose will happen when the time changes are made?


>> Or do you or anyone else have a reason why it's not moot?
>
> As I've said, I'm okay with a Gentoo/m68k profile for ABI experimentation
> as long as the default profile tracks the upstream toolchain:
> https://lists.debian.org/debian-68k/2024/10/msg00045.html

Does this mean you want / expect the default profile to keep 32 bit time?


> Well, your handwaving is no more convincing than mine. Measurements are
> welcome, though it's hard to know which hardware designs to measure.

Nobody would ever argue that unaligned access comes with no or little cost 
in overhead. They might argue that some modern processors pipeline enough 
that the cost can be folded in to execution, but that's about it. It's a 
well known fact of programming.

Calling my examples handwavy is childish, unless you want to argue that 
the cost of unaligned access is in dispute. Do you want to do that? Do you 
REALLY need measurements of something so well known? Or are you trying to 
deflect?

My example of a low memory / memory constrained system that does very well 
with 32 bit alignment is NetBSD/sun2. I don't have data, but I don't think 
I need data when the very lack of someone saying, "hey - we really need to 
save memory, but we're going to ignore this One Neat Trick in order to 
save more of it" is sufficient.


>> Likewise, do you really think that the overhead of unaligned access is
>> outweighed by the fact that more stuff fits in the cache? Seriously?
>
> Yes, some of my 68030 systems have 16-bit data busses.

Those are two wholly different things.

The point you might be trying to make is that a cache miss on a system 
with a 16 bit bus is more impactful than on a 32 bit bus system. Point 
taken, but that's a rather small edge case (plus you've offered no 
measurements to show the increase in cache misses that comes from 32 bit 
alignment).


> As for the ones with 32-bit busses, I'd expect that two cache accesses are
> generally faster than a long-word-aligned RAM access, though you may be
> right about those algorithms that miss the cache.

Sure, but we're talking about one access, whether cache or memory, versus 
two, cache or memory. The instance where one access to memory happens 
instead of two to cache is very likely insignificant.


> BTW, my Apple Workgroup Server 95 has 512 KB of L2 cache. If I can get
> Linux to run on it, I think it might provide some interesting
> measurements.

Sure, but again, this has little to do with this discussion.


>>> One does not age gracefully by pretending to be young. m68k does not
>>> contribute anything by becoming the same as every other 32-bit
>>> big-endian platform.
>>
>> This is nonsense.
>
> It is the main reason why porting to m68k leads to better code.

I agree with that, but not fixing alignment so that m68k can remain the 
canary in the coal mine isn't a good reason.


Look - there is an incredibly compelling reason to NOT do this change. I 
agree with that wholeheartedly. The reason this thread bothers me so much 
is because instead of discussing the one good reason, discussing possible 
solutions and mitigations of impact, a lot of this discussion has been 
derailed in to irrelevant and sometimes outright intentional diversions.

I really, really would like to see the discussion follow something like:

1) Are we doing this?

Separately, and without constantly going back to (1):

2) If we are going to do this, what will it look like? How will we do it?
    How will we make things easy for users? How will we deal with
    compatibility with old binaries? Will we use a new tuple? How is
    compatibility with binaries using 32 bit time handled, and is what's
    being done there applicable to this change?

John

^ permalink raw reply	[flat|nested] 85+ messages in thread

end of thread, other threads:[~2025-06-17 11:37 UTC | newest]

Thread overview: 85+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <e9035006d50933fb02727fa373629cc821784f6c.camel@aura-online.co.uk>
2023-08-26 10:51 ` Tuple and changes for m68k with -malign-int John Paul Adrian Glaubitz
2023-08-26 19:24   ` Richard
2023-08-26 20:43     ` James Le Cuirot
2023-08-28  6:54       ` Geert Uytterhoeven
2023-08-28 10:57     ` John Paul Adrian Glaubitz
2023-08-28 12:11       ` Richard
2023-08-28 12:22         ` Geert Uytterhoeven
2023-08-28 12:46         ` John Paul Adrian Glaubitz
2023-08-27  0:46   ` Finn Thain
2023-08-27  9:20     ` James Le Cuirot
2023-08-27 11:27       ` Richard
2023-08-28  7:00       ` Geert Uytterhoeven
2023-08-28 11:26         ` Richard
2023-08-28 11:40           ` Geert Uytterhoeven
2023-08-28 20:16           ` Richard
2023-08-29  6:52             ` Geert Uytterhoeven
2023-08-28  6:56     ` Geert Uytterhoeven
2023-08-28 11:13       ` John Paul Adrian Glaubitz
2023-08-29  1:12         ` Finn Thain
2023-08-28 11:10     ` John Paul Adrian Glaubitz
2023-08-28 12:44       ` Adhemerval Zanella Netto
2023-08-28 12:50         ` John Paul Adrian Glaubitz
2023-08-28 13:17           ` Andreas Schwab
2023-08-29 10:51             ` John Paul Adrian Glaubitz
2023-08-29 15:27               ` Geert Uytterhoeven
2023-08-28 13:29           ` James Le Cuirot
2023-08-29 10:54             ` John Paul Adrian Glaubitz
2023-08-29 21:53               ` Karoly Balogh
2023-08-30  1:33                 ` Jeffrey Walton
2023-08-29  1:14       ` Finn Thain
2023-08-29  8:52         ` Eero Tamminen
2024-05-15 17:08   ` Python requires 32-bit alignment now - was: " John Paul Adrian Glaubitz
2025-05-18  7:09 ` John Paul Adrian Glaubitz
2025-05-18 14:39   ` Antonio Vargas Gonzalez
2025-05-18 15:07     ` John Paul Adrian Glaubitz
2025-05-19  7:42       ` Geert Uytterhoeven
2025-05-19  7:54         ` John Paul Adrian Glaubitz
2025-05-19  8:03           ` Andreas Schwab
2025-05-19  8:18             ` John Paul Adrian Glaubitz
2025-05-19  8:25               ` Geert Uytterhoeven
2025-05-19  8:43                 ` John Paul Adrian Glaubitz
2025-05-19  8:07           ` Geert Uytterhoeven
2025-05-19  8:14   ` Florian Weimer
2025-05-19  8:24     ` John Paul Adrian Glaubitz
2025-05-19 21:51       ` James Le Cuirot
2025-05-20  9:39         ` John Paul Adrian Glaubitz
2025-05-21  9:15           ` James Le Cuirot
2025-05-21  9:19             ` John Paul Adrian Glaubitz
2025-05-19 21:59       ` Finn Thain
2025-05-20  7:55         ` John Paul Adrian Glaubitz
2025-05-20  8:24           ` Geert Uytterhoeven
2025-05-20  8:37             ` John Paul Adrian Glaubitz
2025-05-20  9:46               ` Finn Thain
2025-05-20  9:56                 ` John Paul Adrian Glaubitz
2025-05-20  9:58               ` Geert Uytterhoeven
2025-05-20 10:05                 ` John Paul Adrian Glaubitz
2025-05-20 10:09                   ` Geert Uytterhoeven
2025-05-20 10:12                     ` John Paul Adrian Glaubitz
2025-05-20 22:13                 ` John Paul Adrian Glaubitz
2025-05-21  0:29               ` Finn Thain
2025-05-21  1:59                 ` John Klos
2025-05-21  5:18                   ` Finn Thain
2025-05-26  5:25                     ` Finn Thain
2025-05-21  7:28                   ` Finn Thain
2025-05-21  9:56                   ` John Paul Adrian Glaubitz
2025-05-21 14:09                   ` Debian subset suitable for m68k (was: Tuple and changes for m68k with -malign-int) Eero Tamminen
2025-05-21 17:54                     ` John Paul Adrian Glaubitz
2025-05-21 22:14                       ` Eero Tamminen
2025-06-17  7:02                   ` Tuple and changes for m68k with -malign-int Geert Uytterhoeven
2025-06-17  7:25                     ` John Paul Adrian Glaubitz
2025-06-17  7:40                       ` Geert Uytterhoeven
2025-06-17  9:48                         ` John Paul Adrian Glaubitz
2025-06-17  9:59                           ` Geert Uytterhoeven
2025-06-17 10:13                             ` John Paul Adrian Glaubitz
2025-06-17 11:21                               ` Geert Uytterhoeven
2025-06-17 11:37                                 ` John Paul Adrian Glaubitz
2025-05-20  9:39           ` Finn Thain
2025-05-20  9:43             ` John Paul Adrian Glaubitz
2025-05-20  9:55               ` Finn Thain
2025-05-20 10:18                 ` John Paul Adrian Glaubitz
2025-05-20 11:03                   ` Finn Thain
2025-05-20 11:13                     ` John Paul Adrian Glaubitz
2025-05-21  0:14                       ` Finn Thain
2025-05-21 17:36 John Klos
2025-05-21 23:50 ` Finn Thain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).