Sujet : Re: Architectural implications of locate mode I/O
De : terje.mathisen (at) *nospam* tmsw.no (Terje Mathisen)
Groupes : comp.archDate : 05. Jul 2024, 08:59:39
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v6895b$36v5v$1@dont-email.me>
References : 1 2 3 4 5 6
User-Agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.18.2
Lawrence D'Oliveiro wrote:
On Tue, 02 Jul 2024 17:36:50 -1000, Lynn Wheeler wrote:
When doing IBM's HA/CMP and working with major RDBMS vendors on cluster
scaleup in late 80s/early 90s, there was lots of references to POSIX
light-weight threads ...
Threads were all the rage in the 1990s. People were using them for
everything. One language (Java) absorbed threading right into its core DNA
(where is the locking API? Oh, it’s attached to the base “Object” type
itself!).
People backed off a bit after that. Nowadays we see a revival of the
“coroutine” idea, where preemption only happens at explicit “await”
points. For non-CPU-intensive workloads, this is much easier to cope with.
... and asynchronous I/O for RDBMS (with no buffer > copies) and the
RDBMS managing large record cache.
This is why POSIX has the disk-oriented “aio” API, for the diehard DBMS
folks. Linux also added “io_uring”, for high performance but not disk-
specific I/O.
Really old PC printers (dot matrix or similar) still had a line buffer worth of on-device memory, enough so that the CPU could sit in a buzy loop sending bytes over the Centronix interface until it got the "I'm full" status bit back, or N bytes had been sent. At that point my disk spooler code would back off and let the next timer interrupt check to see if there was both more print data to be sent and the printer signalled that it was ready to receive more data.
The original serial ports had no buffer at all, so you had to use interrupts for both sending and receiving if you wanted to do anything else while communicating. Around 1984 the serial ports gained a 16-byte buffer, so at that time it made sense to use a hybrid approach, filling/emptying the buffer on each interrupt, while reducing the interrupt load by an order of magnitude.
I.e. acting somewhat like a channel program, but using the main/only cpu to do all the work in the background.
Terje
-- - <Terje.Mathisen at tmsw.no>"almost all programming can be viewed as an exercise in caching"
Date | Sujet | # | | Auteur |
2 Jul 24 | Architectural implications of locate mode I/O | 64 | | John Levine |
2 Jul 24 |  Re: Architectural implications of locate mode I/O | 38 | | Thomas Koenig |
2 Jul 24 |   Re: Architectural implications of locate mode I/O | 1 | | MitchAlsup1 |
2 Jul 24 |   Re: Architectural implications of locate mode I/O | 17 | | MitchAlsup1 |
3 Jul 24 |    Re: Architectural implications of locate mode I/O | 6 | | Lynn Wheeler |
3 Jul 24 |     Re: Architectural implications of locate mode I/O | 2 | | Lawrence D'Oliveiro |
5 Jul 24 |      Re: Architectural implications of locate mode I/O | 1 | | Terje Mathisen |
3 Jul 24 |     Re: Architectural implications of locate mode I/O | 2 | | MitchAlsup1 |
3 Jul 24 |      Re: Architectural implications of locate mode I/O | 1 | | Michael S |
3 Jul 24 |     Re: Architectural implications of locate mode I/O | 1 | | Lynn Wheeler |
3 Jul 24 |    Re: Architectural implications of locate mode I/O | 9 | | Bill Findlay |
3 Jul 24 |     Re: Architectural implications of locate mode I/O | 8 | | Michael S |
3 Jul 24 |      Re: Architectural implications of locate mode I/O | 1 | | Bill Findlay |
3 Jul 24 |      Re: Architectural implications of locate mode I/O | 6 | | Stephen Fuld |
3 Jul 24 |       Re: Architectural implications of locate mode I/O | 5 | | MitchAlsup1 |
4 Jul 24 |        Re: wisdom of the ancients, was Architectural implications of locate mode I/O | 4 | | John Levine |
4 Jul 24 |         Re: wisdom of the ancients, was Architectural implications of locate mode I/O | 2 | | John Savard |
4 Jul 24 |          Re: wisdom of the ancients, was Architectural implications of locate mode I/O | 1 | | John Savard |
4 Jul 24 |         Re: wisdom of the ancients, was Architectural implications of locate mode I/O | 1 | | MitchAlsup1 |
3 Jul 24 |    Re: Architectural implications of locate mode I/O | 1 | | Stephen Fuld |
3 Jul 24 |   Re: Architectural implications of locate mode I/O and channels | 19 | | John Levine |
3 Jul 24 |    Re: Architectural implications of locate mode I/O and channels | 9 | | Anton Ertl |
3 Jul 24 |     Re: Architectural implications of locate mode I/O and channels | 6 | | Michael S |
3 Jul 24 |      Re: Architectural implications of locate mode I/O and channels | 4 | | MitchAlsup1 |
4 Jul 24 |       Re: Architectural implications of locate mode I/O and channels | 3 | | Michael S |
4 Jul 24 |        Re: Architectural implications of locate mode I/O and channels | 1 | | MitchAlsup1 |
5 Jul 24 |        Re: Architectural implications of locate mode I/O and channels | 1 | | Joe Pfeiffer |
3 Jul 24 |      Re: Architectural implications of locate mode I/O and channels | 1 | | Michael S |
3 Jul 24 |     Re: Architectural implications of locate mode I/O and channels | 1 | | Robert Swindells |
3 Jul 24 |     Re: Architectural implications of locate mode I/O and channels | 1 | | John Levine |
4 Jul 24 |    Re: Architectural implications of locate mode I/O and channels | 9 | | Thomas Koenig |
4 Jul 24 |     Re: Architectural implications of locate mode I/O and channels | 8 | | MitchAlsup1 |
4 Jul 24 |      Re: Architectural implications of locate mode I/O and channels | 7 | | Thomas Koenig |
4 Jul 24 |       Re: Architectural implications of locate mode I/O and channels | 5 | | John Levine |
5 Jul 24 |        Re: Architectural implications of locate mode I/O and channels | 4 | | MitchAlsup1 |
7 Jul 24 |         Re: Architectural implications of locate mode I/O and channels | 3 | | Paul A. Clayton |
7 Jul 24 |          Re: Architectural implications of locate mode I/O and channels | 1 | | Lynn Wheeler |
7 Jul 24 |          Re: patents, Architectural implications of locate mode I/O and channels | 1 | | John Levine |
5 Jul 24 |       Re: Architectural implications of locate mode I/O and channels | 1 | | MitchAlsup1 |
3 Jul 24 |  Re: Architectural implications of people who don’t understand locate mode I/O | 1 | | Lawrence D'Oliveiro |
5 Jul 24 |  Re: Architectural implications of locate mode I/O | 24 | | Joe Pfeiffer |
5 Jul 24 |   Re: Architectural implications of locate mode I/O | 21 | | John Levine |
6 Jul 24 |    Re: Architectural implications of locate mode I/O | 18 | | Lynn Wheeler |
6 Jul 24 |     Re: Architectural implications of locate mode I/O | 1 | | MitchAlsup1 |
6 Jul 24 |     Re: Architectural implications of locate mode I/O | 14 | | Stephen Fuld |
6 Jul 24 |      Re: ancient disks, Architectural implications of locate mode I/O | 7 | | John Levine |
6 Jul 24 |       Re: ancient disks, Architectural implications of locate mode I/O | 6 | | Stephen Fuld |
6 Jul 24 |        Re: ancient disks, Architectural implications of locate mode I/O | 5 | | John Levine |
7 Jul 24 |         Re: ancient disks, Architectural implications of locate mode I/O | 4 | | Stephen Fuld |
7 Jul 24 |          Re: ancient disks, Architectural implications of locate mode I/O | 3 | | Thomas Koenig |
7 Jul 24 |           Re: ancient disks, Architectural implications of locate mode I/O | 2 | | Thomas Koenig |
7 Jul 24 |            Re: ancient disks, Architectural implications of locate mode I/O | 1 | | Stephen Fuld |
6 Jul 24 |      Re: Architectural implications of locate mode I/O | 1 | | Lynn Wheeler |
1 Aug 24 |      Re: Architectural implications of locate mode I/O | 5 | | Lawrence D'Oliveiro |
1 Aug 24 |       Re: Architectural implications of locate mode I/O | 4 | | Stephen Fuld |
1 Aug 24 |        Re: Architectural implications of locate mode I/O | 2 | | John Levine |
2 Aug 24 |         Re: Architectural implications of locate mode I/O | 1 | | Stephen Fuld |
11 Aug 24 |        Re: Architectural implications of locate mode I/O | 1 | | Lawrence D'Oliveiro |
8 Jul 24 |     Re: Architectural implications of locate mode I/O | 2 | | Lawrence D'Oliveiro |
8 Jul 24 |      Re: Architectural implications of locate mode I/O | 1 | | Lynn Wheeler |
6 Jul 24 |    Re: Architectural implications of locate mode I/O | 2 | | MitchAlsup1 |
6 Jul 24 |     Re: Old printers, Architectural implications of locate mode I/O | 1 | | John Levine |
8 Jul 24 |   Re: Architectural implications of locate mode I/O | 2 | | Lawrence D'Oliveiro |
1 Aug 24 |    Re: Architectural implications of locate mode I/O | 1 | | MitchAlsup1 |