Re: streams and file locks, ancient OS history, ARM is sort of channeling

Liste des GroupesRevenir à c arch 
Sujet : Re: streams and file locks, ancient OS history, ARM is sort of channeling
De : already5chosen (at) *nospam* yahoo.com (Michael S)
Groupes : comp.arch
Date : 02. Jul 2024, 11:27:51
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <20240702132751.000037be@yahoo.com>
References : 1 2 3 4 5 6 7 8
User-Agent : Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-w64-mingw32)
On Tue, 02 Jul 2024 00:28:45 GMT
scott@slp53.sl.home (Scott Lurndal) wrote:

mitchalsup@aol.com (MitchAlsup1) writes:
Michael S wrote:
 
On Mon, 1 Jul 2024 02:10:43 -0000 (UTC)
John Levine <johnl@taugh.com> wrote:
 
According to MitchAlsup1 <mitchalsup@aol.com>: 
In fact, you can ftruncate arbitrarily large at the start -
backing sectors for the mapped pages will only be allocated
when a page is referenced for the first time. 
>
Can you ftruncate( 0x7FFFFFFFFFFFFFFFF ); ?? ½ of the address
space 
>
Every filesystem has a maximum file size. Exceed that and you'll
get an EFBIG error. 
>
Then it is not capable of ftruncate arbitrarily large in a
hardware's view of arbitrarily large which tends to be 1-bit
smaller than the largest container. 
>
The goal here is to map a file into the address space. What's
your use case for mapping a file-like thing that is bigger than
any real file and can't be written out to the disk?
 
>
Consider that configurations in which maximal file size is bigger
than half of address space are quite common. And not just on
32-bit HW.
>
Of course, what is considered "half of address space" is not a very
simple question by itself. Take x86-64. Is its address space 2**64
or 2*48? Take aarch64. Is its address space 2**64 or 2**49? Or,
may be, 2**56? 
>
To answer this one has to use the proper verbology::
>
Half the virtual address space of x86-64 is 63-bits
Half the physical address space is as low as 38-bits and as high as
47-bits 
 
And generally the address space usable by an application is
limited by the OS/user virtual address boundary (e.g. 2gb
or 3gb on 32-bit x86, and 2^55 for ARM64).

2**49 (IIRC) on ARMv8-A and 2**56 on ARMv9-A is a architectural hardware
limit rather than OS limit.


Date Sujet#  Auteur
29 Jun 24 * Re: ancient OS history, ARM is sort of channeling the IBM 36048John Levine
30 Jun 24 +* Re: ancient OS history, ARM is sort of channeling the IBM 36032Lawrence D'Oliveiro
30 Jun 24 i+- Re: ancient OS history, ARM is sort of channeling the IBM 3601MitchAlsup1
30 Jun 24 i`* Re: ancient OS history, ARM is sort of channeling the IBM 36030Stephen Fuld
30 Jun 24 i +* Re: ancient OS history, ARM is sort of channeling the IBM 36024Lawrence D'Oliveiro
30 Jun 24 i i+* Re: ancient OS history, ARM is sort of channeling the IBM 36022Lynn Wheeler
30 Jun 24 i ii`* Re: ancient OS history, ARM is sort of channeling the IBM 36021John Dallman
30 Jun 24 i ii +* Re: ancient OS history, ARM is sort of channeling the IBM 36019Thomas Koenig
30 Jun 24 i ii i+* Re: ancient OS history, ARM is sort of channeling the IBM 3608Michael S
30 Jun 24 i ii ii+* Re: ancient OS history, ARM is sort of channeling the IBM 3606Thomas Koenig
30 Jun 24 i ii iii+* Re: ancient OS history, ARM is sort of channeling the IBM 3604Stephen Fuld
30 Jun 24 i ii iiii`* Re: base registers, ancient OS history, ARM is sort of channeling the IBM 3603John Levine
1 Jul 24 i ii iiii `* Re: base registers, ancient OS history, ARM is sort of channeling the IBM 3602Lawrence D'Oliveiro
1 Jul 24 i ii iiii  `- Re: base registers, ancient OS history, ARM is sort of channeling the IBM 3601John Levine
30 Jun 24 i ii iii`- Re: ancient OS history, ARM is sort of channeling the IBM 3601MitchAlsup1
30 Jun 24 i ii ii`- Re: ancient OS history, ARM is sort of channeling the IBM 3601MitchAlsup1
30 Jun 24 i ii i`* Re: ancient OS history, ARM is sort of channeling the IBM 36010John Dallman
30 Jun 24 i ii i +- Re: ancient OS history, ARM is sort of channeling the IBM 3601MitchAlsup1
30 Jun 24 i ii i `* Re: ancient OS history, ARM is sort of channeling the IBM 3608Stephen Fuld
30 Jun 24 i ii i  +- Re: small old machines, ancient OS history, ARM is sort of channeling the IBM 3601John Levine
30 Jun 24 i ii i  +* Re: ancient OS history, ARM is sort of channeling the IBM 3604John Dallman
30 Jun 24 i ii i  i+* Re: ancient OS history, ARM is sort of channeling the IBM 3602Stephen Fuld
30 Jun 24 i ii i  ii`- Re: ancient OS history, ARM is sort of channeling the IBM 3601John Dallman
30 Jun 24 i ii i  i`- Re: ancient OS history, ARM is sort of channeling the IBM 3601Lynn Wheeler
30 Jun 24 i ii i  `* Re: ancient OS history, ARM is sort of channeling the IBM 3602MitchAlsup1
1 Jul 24 i ii i   `- Re: ancient OS history, ARM is sort of channeling the IBM 3601moi
30 Jun 24 i ii `- Re: ancient OS history, ARM is sort of channeling the IBM 3601Lynn Wheeler
30 Jun 24 i i`- Re: ancient OS history, ARM is sort of channeling the IBM 3601Stephen Fuld
1 Jul 24 i `* Re: ancient OS history, ARM is sort of channeling the IBM 3605Lawrence D'Oliveiro
2 Jul 24 i  `* Re: ancient OS history, ARM is sort of channeling the IBM 3604John Levine
2 Jul 24 i   `* Re: ancient OS history, ARM is sort of channeling the IBM 3603Lawrence D'Oliveiro
2 Jul 24 i    `* Re: ancient OS history, ARM is sort of channeling the IBM 3602John Levine
2 Jul 24 i     `- Re: ancient OS history, ARM is sort of channeling the IBM 3601Dan Cross
30 Jun 24 `* Re: ancient OS history, ARM is sort of channeling the IBM 36015Anton Ertl
30 Jun 24  `* Re: ancient OS history, ARM is sort of channeling the IBM 36014Anton Ertl
30 Jun 24   `* Re: streams and file locks, ancient OS history, ARM is sort of channeling the IBM 36013John Levine
30 Jun 24    +* Re: streams and file locks, ancient OS history, ARM is sort of channeling the IBM 36010MitchAlsup1
30 Jun 24    i`* Re: streams and file locks, ancient OS history, ARM is sort of channeling9John Levine
1 Jul 24    i `* Re: streams and file locks, ancient OS history, ARM is sort of channeling8MitchAlsup1
1 Jul 24    i  `* Re: streams and file locks, ancient OS history, ARM is sort of channeling7John Levine
1 Jul 24    i   +* Re: streams and file locks, ancient OS history, ARM is sort of channeling2Lawrence D'Oliveiro
1 Jul 24    i   i`- Re: streams and file locks, ancient OS history, ARM is sort of channeling1John Levine
1 Jul 24    i   `* Re: streams and file locks, ancient OS history, ARM is sort of channeling4Michael S
1 Jul 24    i    `* Re: streams and file locks, ancient OS history, ARM is sort of channeling3MitchAlsup1
2 Jul 24    i     +- Re: streams and file locks, ancient OS history, ARM is sort of channeling1Michael S
2 Jul 24    i     `- Re: streams and file locks, ancient OS history, ARM is sort of channeling1Michael S
1 Jul 24    `* Re: streams and file locks, ancient OS history, ARM is sort of channeling the IBM 3602Lawrence D'Oliveiro
1 Jul 24     `- Re: streams and file locks, ancient OS history1John Levine

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal