Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Death, when unnecessary, is a tragic thing. -- Flint, "Requiem for Methuselah", stardate 5843.7


computers / comp.os.linux.misc / Re: Int64 File Seeking ???

SubjectAuthor
* Int64 File Seeking ???25B.E866
+* Re: Int64 File Seeking ???Richard Kettlewell
|+* Re: Int64 File Seeking ???The Natural Philosopher
||+* Re: Int64 File Seeking ???Richard Kettlewell
|||`- Re: Int64 File Seeking ???25B.E866
||`* Re: Int64 File Seeking ???25B.E866
|| `* Re: Int64 File Seeking ???Robert Riches
||  +- Re: Int64 File Seeking ???Bobbie Sellers
||  `* Re: Int64 File Seeking ???25B.E866
||   `* Re: Int64 File Seeking ???The Natural Philosopher
||    +- Re: Int64 File Seeking ???Richard Kettlewell
||    +* Re: Int64 File Seeking ???Pancho
||    |`- Re: Int64 File Seeking ???25A.I866
||    `- Re: Int64 File Seeking ???25A.I866
|`* Re: Int64 File Seeking ???25B.E866
| `* Re: Int64 File Seeking ???Bobbie Sellers
|  +- Re: Int64 File Seeking ???The Natural Philosopher
|  `- Re: Int64 File Seeking ???Bobbie Sellers
`- Re: Int64 File Seeking ???Carlos E.R.

1
Int64 File Seeking ???

<Uh2cnczb7I4tJmj-nZ2dnZfqnPWdnZ2d@earthlink.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9963&group=comp.os.linux.misc#9963

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!border-1.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 22 Feb 2023 06:52:32 +0000
Newsgroups: comp.os.linux.misc
X-Mozilla-News-Host: news://news.west.earthlink.net:119
From: 25B.E...@noaaba.net (25B.E866)
Subject: Int64 File Seeking ???
Organization: protonic seahorse
Date: Wed, 22 Feb 2023 01:52:31 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Message-ID: <Uh2cnczb7I4tJmj-nZ2dnZfqnPWdnZ2d@earthlink.com>
Lines: 30
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 68.222.41.46
X-Trace: sv3-YGHqiNa+3MCjkfLh6E4psp0g4jZGG54y0jf5BAMv61FC4JNz8Rn/nyTrZSq6Kpx7pCOme0LUHeE040a!7wlip5SBI6919l2lFxpsrU1yxGbxzRF1NnZI6pjrnU5CTwSiYwkUYC3+6KVDN/Veq54RAnK8ee1X!76EJTO+ghD3YCGzJeHs=
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: 25B.E866 - Wed, 22 Feb 2023 06:52 UTC

I arrived at a need to search hard drives - like
up to 16 terabyte hard drives - AND kinda show what's
going on. THE problem is that if you need to look at
a SPECIFIC spot on the disk the usual "seek()"
functions crap out - limited to longint (about 2.4
gig). Free Pascal CLAIMS its fseek() will take an
int64 ... but in practice I see the exact same bits
of the disk come up again, which means it's rolling
over. Just started experimenting with Python - I'll
know in a day or two.

The GCC lib - sometimes requiring special flags -
claims it'll do 64-bit seeks - but I haven't
confirmed that yet either.

Consider 'dd' ... you can copy all, or parts of,
huge disks. Tell it to start at the 3tb mark
and it'll do it. I'm not sure if that uses any
of the standard 'C' libraries or is something
totally custom under the hood. It IS kinda
slow alas - try duplicating, or even zeroing, a
12tb disk sometime ... better start on friday
afternoon ......

A lot of languages/compilers were refined when
the old 2 gb files were kind of the max. You
CAN view a big disk AS a file if need be. The
world moved on, but it seems THEY didn't.

Any insights ???

Re: Int64 File Seeking ???

<wwvh6vegjtw.fsf@LkoBDZeT.terraraq.uk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9964&group=comp.os.linux.misc#9964

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!news.nntp4.net!nntp.terraraq.uk!.POSTED.tunnel.sfere.anjou.terraraq.org.uk!not-for-mail
From: inva...@invalid.invalid (Richard Kettlewell)
Newsgroups: comp.os.linux.misc
Subject: Re: Int64 File Seeking ???
Date: Wed, 22 Feb 2023 08:55:55 +0000
Organization: terraraq NNTP server
Message-ID: <wwvh6vegjtw.fsf@LkoBDZeT.terraraq.uk>
References: <Uh2cnczb7I4tJmj-nZ2dnZfqnPWdnZ2d@earthlink.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: innmantic.terraraq.uk; posting-host="tunnel.sfere.anjou.terraraq.org.uk:172.17.207.6";
logging-data="51054"; mail-complaints-to="usenet@innmantic.terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:8BJZyEiowvOtaIEkNNo74hJ33M8=
X-Face: h[Hh-7npe<<b4/eW[]sat,I3O`t8A`(ej.H!F4\8|;ih)`7{@:A~/j1}gTt4e7-n*F?.Rl^
F<\{jehn7.KrO{!7=:(@J~]<.[{>v9!1<qZY,{EJxg6?Er4Y7Ng2\Ft>Z&W?r\c.!4DXH5PWpga"ha
+r0NzP?vnz:e/knOY)PI-
X-Boydie: NO
 by: Richard Kettlewell - Wed, 22 Feb 2023 08:55 UTC

"25B.E866" <25B.E866@noaaba.net> writes:
> I arrived at a need to search hard drives - like
> up to 16 terabyte hard drives - AND kinda show what's
> going on. THE problem is that if you need to look at
> a SPECIFIC spot on the disk the usual "seek()"
> functions crap out - limited to longint (about 2.4
> gig). Free Pascal CLAIMS its fseek() will take an
> int64 ... but in practice I see the exact same bits
> of the disk come up again, which means it's rolling
> over. Just started experimenting with Python - I'll
> know in a day or two.

In Python 3, file offsets use the int type, which can be as big as you
like.

> The GCC lib - sometimes requiring special flags -
> claims it'll do 64-bit seeks - but I haven't
> confirmed that yet either.

In C, on a 64-bit Linux platform, all of lseek, fseek and fseeko will
use 64-bit offsets (since long and off_t are both 64 bits on such
platforms).

https://man7.org/linux/man-pages/man2/lseek.2.html
https://man7.org/linux/man-pages/man3/fseek.3.html
https://man7.org/linux/man-pages/man3/ftello.3.html

If you have 32-bit platform still, you have a couple of options, but the
sensible one is: bin it and get a computer that hasn’t been obsolete for
the last 15 years.

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

Re: Int64 File Seeking ???

<tt55t9$1h7e6$3@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9967&group=comp.os.linux.misc#9967

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: tnp...@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.os.linux.misc
Subject: Re: Int64 File Seeking ???
Date: Wed, 22 Feb 2023 13:38:49 +0000
Organization: A little, after lunch
Lines: 13
Message-ID: <tt55t9$1h7e6$3@dont-email.me>
References: <Uh2cnczb7I4tJmj-nZ2dnZfqnPWdnZ2d@earthlink.com>
<wwvh6vegjtw.fsf@LkoBDZeT.terraraq.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 22 Feb 2023 13:38:49 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="6d7b228f241dc03d67b557420250dc20";
logging-data="1613254"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX193gnHNYqSn+oFw4jUWsTftQzHzJefQqUk="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.7.1
Cancel-Lock: sha1:D1TqEOz9r1U5RGHuGsDTdHvpI5k=
In-Reply-To: <wwvh6vegjtw.fsf@LkoBDZeT.terraraq.uk>
Content-Language: en-GB
 by: The Natural Philosop - Wed, 22 Feb 2023 13:38 UTC

On 22/02/2023 08:55, Richard Kettlewell wrote:
> you have a couple of options, but the
> sensible one is: bin it and get a computer that hasn’t been obsolete for
> the last 15 years.

LOL. Is it THAT long ago?

--
In theory, there is no difference between theory and practice.
In practice, there is.
-- Yogi Berra

Re: Int64 File Seeking ???

<wwvpma1yelr.fsf@LkoBDZeT.terraraq.uk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9968&group=comp.os.linux.misc#9968

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!news.nntp4.net!nntp.terraraq.uk!.POSTED.tunnel.sfere.anjou.terraraq.org.uk!not-for-mail
From: inva...@invalid.invalid (Richard Kettlewell)
Newsgroups: comp.os.linux.misc
Subject: Re: Int64 File Seeking ???
Date: Wed, 22 Feb 2023 14:11:28 +0000
Organization: terraraq NNTP server
Message-ID: <wwvpma1yelr.fsf@LkoBDZeT.terraraq.uk>
References: <Uh2cnczb7I4tJmj-nZ2dnZfqnPWdnZ2d@earthlink.com>
<wwvh6vegjtw.fsf@LkoBDZeT.terraraq.uk> <tt55t9$1h7e6$3@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: innmantic.terraraq.uk; posting-host="tunnel.sfere.anjou.terraraq.org.uk:172.17.207.6";
logging-data="55644"; mail-complaints-to="usenet@innmantic.terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:+UEQhrW0UdO2DvdWiNjlwo7g/ZE=
X-Face: h[Hh-7npe<<b4/eW[]sat,I3O`t8A`(ej.H!F4\8|;ih)`7{@:A~/j1}gTt4e7-n*F?.Rl^
F<\{jehn7.KrO{!7=:(@J~]<.[{>v9!1<qZY,{EJxg6?Er4Y7Ng2\Ft>Z&W?r\c.!4DXH5PWpga"ha
+r0NzP?vnz:e/knOY)PI-
X-Boydie: NO
 by: Richard Kettlewell - Wed, 22 Feb 2023 14:11 UTC

The Natural Philosopher <tnp@invalid.invalid> writes:
> On 22/02/2023 08:55, Richard Kettlewell wrote:
>> you have a couple of options, but the
>> sensible one is: bin it and get a computer that hasn’t been obsolete for
>> the last 15 years.
>
> LOL. Is it THAT long ago?

Opteron release was 2003. That didn’t necessarily make 32-bit x86
obsolete overnight but the writing was on the wall.

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

Re: Int64 File Seeking ???

<zyednetK5uXprGv-nZ2dnZfqn_ednZ2d@earthlink.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9969&group=comp.os.linux.misc#9969

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 22 Feb 2023 15:15:00 +0000
Subject: Re: Int64 File Seeking ???
Newsgroups: comp.os.linux.misc
References: <Uh2cnczb7I4tJmj-nZ2dnZfqnPWdnZ2d@earthlink.com>
<wwvh6vegjtw.fsf@LkoBDZeT.terraraq.uk>
From: 25B.E...@noaaba.net (25B.E866)
Organization: protonic seahorse
Date: Wed, 22 Feb 2023 10:14:44 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <wwvh6vegjtw.fsf@LkoBDZeT.terraraq.uk>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Message-ID: <zyednetK5uXprGv-nZ2dnZfqn_ednZ2d@earthlink.com>
Lines: 51
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 68.222.41.46
X-Trace: sv3-6xaADk9Y/XHlqnLobvRsU5NJ7XzJk1vo4UsBiqHHWXE/rlVvSdI2DTgE6BxRSmtGwCeL/urjUiPR/9Q!kaaVCfb+56KjIUBc3Yh97kjXlF/jOpahKAcPBma6oY/PbZNOWImvrcCMo0YoIfPVxJ96wYgb9WeF!YDRuctpt0lNtQY3uKKU=
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: 25B.E866 - Wed, 22 Feb 2023 15:14 UTC

On 2/22/23 3:55 AM, Richard Kettlewell wrote:
> "25B.E866" <25B.E866@noaaba.net> writes:
>> I arrived at a need to search hard drives - like
>> up to 16 terabyte hard drives - AND kinda show what's
>> going on. THE problem is that if you need to look at
>> a SPECIFIC spot on the disk the usual "seek()"
>> functions crap out - limited to longint (about 2.4
>> gig). Free Pascal CLAIMS its fseek() will take an
>> int64 ... but in practice I see the exact same bits
>> of the disk come up again, which means it's rolling
>> over. Just started experimenting with Python - I'll
>> know in a day or two.
>
> In Python 3, file offsets use the int type, which can be as big as you
> like.

That's what it looked like at first brush yesterday.
Now my Lazarus GUI has to call a Python3 helper pgm
to do the seeks and create a file-o-binary form
consumption.

>> The GCC lib - sometimes requiring special flags -
>> claims it'll do 64-bit seeks - but I haven't
>> confirmed that yet either.
>
> In C, on a 64-bit Linux platform, all of lseek, fseek and fseeko will
> use 64-bit offsets (since long and off_t are both 64 bits on such
> platforms).
>
> https://man7.org/linux/man-pages/man2/lseek.2.html
> https://man7.org/linux/man-pages/man3/fseek.3.html
> https://man7.org/linux/man-pages/man3/ftello.3.html

Trying to search it I kept running into odd flags
and pragmas and such that might need to be added
to make sure it was using 64-bits. At the rate
things are going they might just wanna bite it
and go to 128-bit values for all their file stuff.

In any case I'll re-do the helper pgm in 'C' today
and experiment. Python is a bit weird with binary
(not TOO bad in this specific case) but 'C' is
always happy.

> If you have 32-bit platform still, you have a couple of options, but the
> sensible one is: bin it and get a computer that hasn’t been obsolete for
> the last 15 years.

There isn't much that ain't 64 bit these days.

Re: Int64 File Seeking ???

<d7626f8c-20ac-5c41-0dd8-1c9a7c6ed307@mouse-potato.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9970&group=comp.os.linux.misc#9970

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: bli...@mouse-potato.com (Bobbie Sellers)
Newsgroups: comp.os.linux.misc
Subject: Re: Int64 File Seeking ???
Date: Wed, 22 Feb 2023 08:52:09 -0800
Organization: dis-organization
Lines: 61
Message-ID: <d7626f8c-20ac-5c41-0dd8-1c9a7c6ed307@mouse-potato.com>
References: <Uh2cnczb7I4tJmj-nZ2dnZfqnPWdnZ2d@earthlink.com>
<wwvh6vegjtw.fsf@LkoBDZeT.terraraq.uk>
<zyednetK5uXprGv-nZ2dnZfqn_ednZ2d@earthlink.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: reader01.eternal-september.org; posting-host="de9117f7de03f430d828d8a41ceda303";
logging-data="1653047"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+OSZItQucrjdWf2AEDCoKf"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:gknMofxTOwC36Ml/CA34vGNPo1A=
Content-Language: en-US
In-Reply-To: <zyednetK5uXprGv-nZ2dnZfqn_ednZ2d@earthlink.com>
 by: Bobbie Sellers - Wed, 22 Feb 2023 16:52 UTC

On 2/22/23 07:14, 25B.E866 wrote:
> On 2/22/23 3:55 AM, Richard Kettlewell wrote:
>> "25B.E866" <25B.E866@noaaba.net> writes:
>>> I arrived at a need to search hard drives - like
>>> up to 16 terabyte hard drives - AND kinda show what's
>>> going on. THE problem is that if you need to look at
>>> a SPECIFIC spot on the disk the usual "seek()"
>>> functions crap out - limited to longint (about 2.4
>>> gig). Free Pascal CLAIMS its fseek() will take an
>>> int64 ... but in practice I see the exact same bits
>>> of the disk come up again, which means it's rolling
>>> over. Just started experimenting with Python - I'll
>>> know in a day or two.
>>
>> In Python 3, file offsets use the int type, which can be as big as you
>> like.
>
>   That's what it looked like at first brush yesterday.
>   Now my Lazarus GUI has to call a Python3 helper pgm
>   to do the seeks and create a file-o-binary form
>   consumption.
>
>>> The GCC lib - sometimes requiring special flags -
>>> claims it'll do 64-bit seeks - but I haven't
>>> confirmed that yet either.
>>
>> In C, on a 64-bit Linux platform, all of lseek, fseek and fseeko will
>> use 64-bit offsets (since long and off_t are both 64 bits on such
>> platforms).
>>
>> https://man7.org/linux/man-pages/man2/lseek.2.html
>> https://man7.org/linux/man-pages/man3/fseek.3.html
>> https://man7.org/linux/man-pages/man3/ftello.3.html
>
>   Trying to search it I kept running into odd flags
>   and pragmas and such that might need to be added
>   to make sure it was using 64-bits. At the rate
>   things are going they might just wanna bite it
>   and go to 128-bit values for all their file stuff.
>
>   In any case I'll re-do the helper pgm in 'C' today
>   and experiment. Python is a bit weird with binary
>   (not TOO bad in this specific case) but 'C' is
>   always happy.
>
>> If you have 32-bit platform still, you have a couple of options, but the
>> sensible one is: bin it and get a computer that hasn’t been obsolete for
>> the last 15 years.
>
>   There isn't much that ain't 64 bit these days.
` Any there is not much that 32 bits cannot do but it will be an
inconvenience. Used 64 bit machines are cheap even refurbished. And
if you have to deal with very large disks then get a Newer machine.

bliss-“Nearly any fool can use a GNU/Linux computer. Many do.”
After all here I am... Again

--
bliss dash SF 4 ever at dslextreme dot com

Re: Int64 File Seeking ???

<tt5he9$1i9up$8@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9971&group=comp.os.linux.misc#9971

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: tnp...@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.os.linux.misc
Subject: Re: Int64 File Seeking ???
Date: Wed, 22 Feb 2023 16:55:37 +0000
Organization: A little, after lunch
Lines: 67
Message-ID: <tt5he9$1i9up$8@dont-email.me>
References: <Uh2cnczb7I4tJmj-nZ2dnZfqnPWdnZ2d@earthlink.com>
<wwvh6vegjtw.fsf@LkoBDZeT.terraraq.uk>
<zyednetK5uXprGv-nZ2dnZfqn_ednZ2d@earthlink.com>
<d7626f8c-20ac-5c41-0dd8-1c9a7c6ed307@mouse-potato.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 22 Feb 2023 16:55:37 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="6d7b228f241dc03d67b557420250dc20";
logging-data="1648601"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19zn8ZdN3jEmx8+HLTeLEG0Xuqm8APKRCo="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.7.1
Cancel-Lock: sha1:GmvKqnLJkudXmCslmseDDjnGVak=
In-Reply-To: <d7626f8c-20ac-5c41-0dd8-1c9a7c6ed307@mouse-potato.com>
Content-Language: en-GB
 by: The Natural Philosop - Wed, 22 Feb 2023 16:55 UTC

On 22/02/2023 16:52, Bobbie Sellers wrote:
> On 2/22/23 07:14, 25B.E866 wrote:
>> On 2/22/23 3:55 AM, Richard Kettlewell wrote:
>>> "25B.E866" <25B.E866@noaaba.net> writes:
>>>> I arrived at a need to search hard drives - like
>>>> up to 16 terabyte hard drives - AND kinda show what's
>>>> going on. THE problem is that if you need to look at
>>>> a SPECIFIC spot on the disk the usual "seek()"
>>>> functions crap out - limited to longint (about 2.4
>>>> gig). Free Pascal CLAIMS its fseek() will take an
>>>> int64 ... but in practice I see the exact same bits
>>>> of the disk come up again, which means it's rolling
>>>> over. Just started experimenting with Python - I'll
>>>> know in a day or two.
>>>
>>> In Python 3, file offsets use the int type, which can be as big as you
>>> like.
>>
>>    That's what it looked like at first brush yesterday.
>>    Now my Lazarus GUI has to call a Python3 helper pgm
>>    to do the seeks and create a file-o-binary form
>>    consumption.
>>
>>>> The GCC lib - sometimes requiring special flags -
>>>> claims it'll do 64-bit seeks - but I haven't
>>>> confirmed that yet either.
>>>
>>> In C, on a 64-bit Linux platform, all of lseek, fseek and fseeko will
>>> use 64-bit offsets (since long and off_t are both 64 bits on such
>>> platforms).
>>>
>>> https://man7.org/linux/man-pages/man2/lseek.2.html
>>> https://man7.org/linux/man-pages/man3/fseek.3.html
>>> https://man7.org/linux/man-pages/man3/ftello.3.html
>>
>>    Trying to search it I kept running into odd flags
>>    and pragmas and such that might need to be added
>>    to make sure it was using 64-bits. At the rate
>>    things are going they might just wanna bite it
>>    and go to 128-bit values for all their file stuff.
>>
>>    In any case I'll re-do the helper pgm in 'C' today
>>    and experiment. Python is a bit weird with binary
>>    (not TOO bad in this specific case) but 'C' is
>>    always happy.
>>
>>> If you have 32-bit platform still, you have a couple of options, but the
>>> sensible one is: bin it and get a computer that hasn’t been obsolete for
>>> the last 15 years.
>>
>>    There isn't much that ain't 64 bit these days.
>
> `    Any there is not much that 32 bits cannot do but it will be an
> inconvenience.  Used 64 bit machines are cheap even refurbished.  And
> if you have to deal with very large disks then get a Newer machine.
>
I think that ARM based boards only recently went 64bit
Not sure about other embedded style kit.

--
It is the folly of too many to mistake the echo of a London coffee-house
for the voice of the kingdom.

Jonathan Swift

Re: Int64 File Seeking ???

<tt5ucj$1js1l$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9974&group=comp.os.linux.misc#9974

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: bli...@mouse-potato.com (Bobbie Sellers)
Newsgroups: comp.os.linux.misc
Subject: Re: Int64 File Seeking ???
Date: Wed, 22 Feb 2023 12:36:35 -0800
Organization: dis-organization
Lines: 67
Message-ID: <tt5ucj$1js1l$2@dont-email.me>
References: <Uh2cnczb7I4tJmj-nZ2dnZfqnPWdnZ2d@earthlink.com>
<wwvh6vegjtw.fsf@LkoBDZeT.terraraq.uk>
<zyednetK5uXprGv-nZ2dnZfqn_ednZ2d@earthlink.com>
<d7626f8c-20ac-5c41-0dd8-1c9a7c6ed307@mouse-potato.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 22 Feb 2023 20:36:35 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="de9117f7de03f430d828d8a41ceda303";
logging-data="1699893"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19eZ1p37oVUaqh6+NAAayzJ"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:Tqn76gMk/p+t8Xd0OKkeypoTut0=
Content-Language: en-US
In-Reply-To: <d7626f8c-20ac-5c41-0dd8-1c9a7c6ed307@mouse-potato.com>
 by: Bobbie Sellers - Wed, 22 Feb 2023 20:36 UTC

On 2/22/23 08:52, Bobbie Sellers wrote:
> On 2/22/23 07:14, 25B.E866 wrote:
>> On 2/22/23 3:55 AM, Richard Kettlewell wrote:
>>> "25B.E866" <25B.E866@noaaba.net> writes:
>>>> I arrived at a need to search hard drives - like
>>>> up to 16 terabyte hard drives - AND kinda show what's
>>>> going on. THE problem is that if you need to look at
>>>> a SPECIFIC spot on the disk the usual "seek()"
>>>> functions crap out - limited to longint (about 2.4
>>>> gig). Free Pascal CLAIMS its fseek() will take an
>>>> int64 ... but in practice I see the exact same bits
>>>> of the disk come up again, which means it's rolling
>>>> over. Just started experimenting with Python - I'll
>>>> know in a day or two.
>>>
>>> In Python 3, file offsets use the int type, which can be as big as you
>>> like.
>>
>>    That's what it looked like at first brush yesterday.
>>    Now my Lazarus GUI has to call a Python3 helper pgm
>>    to do the seeks and create a file-o-binary form
>>    consumption.
>>
>>>> The GCC lib - sometimes requiring special flags -
>>>> claims it'll do 64-bit seeks - but I haven't
>>>> confirmed that yet either.
>>>
>>> In C, on a 64-bit Linux platform, all of lseek, fseek and fseeko will
>>> use 64-bit offsets (since long and off_t are both 64 bits on such
>>> platforms).
>>>
>>> https://man7.org/linux/man-pages/man2/lseek.2.html
>>> https://man7.org/linux/man-pages/man3/fseek.3.html
>>> https://man7.org/linux/man-pages/man3/ftello.3.html
>>
>>    Trying to search it I kept running into odd flags
>>    and pragmas and such that might need to be added
>>    to make sure it was using 64-bits. At the rate
>>    things are going they might just wanna bite it
>>    and go to 128-bit values for all their file stuff.
>>
>>    In any case I'll re-do the helper pgm in 'C' today
>>    and experiment. Python is a bit weird with binary
>>    (not TOO bad in this specific case) but 'C' is
>>    always happy.
>>
>>> If you have 32-bit platform still, you have a couple of options, but the
>>> sensible one is: bin it and get a computer that hasn’t been obsolete for
>>> the last 15 years.
>>
>>    There isn't much that ain't 64 bit these days.
>
> `    And there is not much that 32 bits cannot do but it will be an
> inconvenience.  Used 64 bit machines are cheap even refurbished.  And
> if you have to deal with very large disks then get a Newer machine.
>
> bliss-“Nearly any fool can use a GNU/Linux computer. Many do.”
>         After all here I am... Again
> "Any" corrected to "And"
But with large disks you should get a fast processor as well as
newer. I think an i7 with at least 4 cores or the Ryzen series with
multiple cores. 6 or 8 in a notebook or laptop (desktop replacement).

bliss
--
bliss dash SF 4 ever at dslextreme dot com

Re: Int64 File Seeking ???

<9n-dna8ZAsUbXmv-nZ2dnZfqnPidnZ2d@earthlink.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9979&group=comp.os.linux.misc#9979

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 23 Feb 2023 01:38:14 +0000
Subject: Re: Int64 File Seeking ???
Newsgroups: comp.os.linux.misc
References: <Uh2cnczb7I4tJmj-nZ2dnZfqnPWdnZ2d@earthlink.com>
<wwvh6vegjtw.fsf@LkoBDZeT.terraraq.uk> <tt55t9$1h7e6$3@dont-email.me>
<wwvpma1yelr.fsf@LkoBDZeT.terraraq.uk>
From: 25B.E...@noaaba.net (25B.E866)
Organization: protonic seahorse
Date: Wed, 22 Feb 2023 20:38:13 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <wwvpma1yelr.fsf@LkoBDZeT.terraraq.uk>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Message-ID: <9n-dna8ZAsUbXmv-nZ2dnZfqnPidnZ2d@earthlink.com>
Lines: 53
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 68.222.41.46
X-Trace: sv3-LLrQl5jSeA7ODFPeuZvaQ0biHMPF6VFf66b1ADhpomMM9W0+1m1Uth/gvVlbyGX5Ya43f5qCN329o8j!rgxlriz8yz62GU4U5mjhoJ8/jU8A93Dp2/Xnk9mD2rdzdKYZrgRvkNihYWKGzwqGgJPXfEekOkbR!GFT3j+aPHmhA5RGKyoc=
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: 25B.E866 - Thu, 23 Feb 2023 01:38 UTC

On 2/22/23 9:11 AM, Richard Kettlewell wrote:
> The Natural Philosopher <tnp@invalid.invalid> writes:
>> On 22/02/2023 08:55, Richard Kettlewell wrote:
>>> you have a couple of options, but the
>>> sensible one is: bin it and get a computer that hasn’t been obsolete for
>>> the last 15 years.
>>
>> LOL. Is it THAT long ago?
>
> Opteron release was 2003. That didn’t necessarily make 32-bit x86
> obsolete overnight but the writing was on the wall.

And a computer-shop guru in the Atari/C64 days once asked
me why there would be any use for 16 or (horrors!) 32 bit
processors :-)

Just a followup ... proper 64-bit seeking WAS possible
with Python3. Compiled it with pyinstaller. Alas the
throughput between the main pgm and the helper was crappy.

However I re-did it in 'C' ... and there was more than a
50X speed improvement doing essentially identical steps
with the same read/write blocksize. Upped the blocksize
from 128kb to 256kb and it picked up to about 70x the
Python speed. Going to 512kb didn't yield much improvement.

Saving/reading the tempfile in a RAMdisk would likely give
a good performance boost - but you've gotta set up a
RAMdisk ..... I forget, is /tmp actually a RAMdisk
in Deb derivatives ? I'll check.

Now I suspect 'pyinstaller' isn't REALLY a "compiler"
per-se but instead a way of encapsulating the Py
interpreter and needed libs inside one executable.
I'll give Cython and Nutika a shot, just to be fair.

'C' notes ... some compiler directives about using
large files and deffing something as 64 bits were
required. ALSO, fopen() and fseek() kept throwing
seg errors - had to switch to open() and lseek64().
I don't think fopen() could even open "/dev/sdb" or
whatever, but open() did it easily.

Even now, most good old gcc libs are oriented around
longints. Had to dig a bit for odd variable type
defs in the libs and lesser-documented functions
to get it all working right. FPC didn't even have
a StrToInt64() - had to write one (and a Int64ToHex()
as well).

Anyway, 'C' beat the snot out of Python here ...
a 5mb 'compiled' py pgm -vs- 15kb 'C' pgm.

Re: Int64 File Seeking ???

<zFSdnUzJ_bLabGv-nZ2dnZfqnPednZ2d@earthlink.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9980&group=comp.os.linux.misc#9980

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 23 Feb 2023 04:53:27 +0000
Subject: Re: Int64 File Seeking ???
Newsgroups: comp.os.linux.misc
References: <Uh2cnczb7I4tJmj-nZ2dnZfqnPWdnZ2d@earthlink.com>
<wwvh6vegjtw.fsf@LkoBDZeT.terraraq.uk> <tt55t9$1h7e6$3@dont-email.me>
From: 25B.E...@noaaba.net (25B.E866)
Organization: protonic seahorse
Date: Wed, 22 Feb 2023 23:53:26 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <tt55t9$1h7e6$3@dont-email.me>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Message-ID: <zFSdnUzJ_bLabGv-nZ2dnZfqnPednZ2d@earthlink.com>
Lines: 24
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 68.222.41.46
X-Trace: sv3-SKG0NWTCb/y4boGUn8pykgCcOHvG7tcPD0ONyyhgeQ1QhXzbfbQHJxYyXitwQpcnNcKOvBvT6/n4Oc7!EZjXNwKWsqDg0scfnxN8Q0mibV4T6Plsa5xuE73/g89G06bHmXpYt/suFWNUFRRGYbGOi9/cY0qW!t5TuWkfnVHVdK3jjDEs=
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: 25B.E866 - Thu, 23 Feb 2023 04:53 UTC

On 2/22/23 8:38 AM, The Natural Philosopher wrote:
> On 22/02/2023 08:55, Richard Kettlewell wrote:
>> you have a couple of options, but the
>> sensible one is: bin it and get a computer that hasn’t been obsolete for
>> the last 15 years.
>
> LOL. Is it THAT long ago?

Even longer really ... more like 20 years.

Events tend to move on more quickly than people.

I think 64-bit uPs came out around 2003/2004 with AMD getting
first credit.

DID solve my 64-bit file-seek problem, albeit a bit
weirdly. First a Python "helper" pgm, then re-did
it in 'C' (there were weird issues) and it was 50+
times faster. Anyway, the Free Pascal seek(), despite
docs, does NOT seem to be 64-bit, just longint. NOT
big enough at all. 20+ year old thinking there .......

Hey, I wanted/needed to seek/read anywhere on a 16tb
hdd. Some could manage that, others couldn't.

Re: Int64 File Seeking ???

<slrntvdtbb.sqn.spamtrap42@one.localnet>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9981&group=comp.os.linux.misc#9981

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!lilly.ping.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: spamtra...@jacob21819.net (Robert Riches)
Newsgroups: comp.os.linux.misc
Subject: Re: Int64 File Seeking ???
Date: 23 Feb 2023 05:11:07 GMT
Organization: none-at-all
Lines: 31
Message-ID: <slrntvdtbb.sqn.spamtrap42@one.localnet>
References: <Uh2cnczb7I4tJmj-nZ2dnZfqnPWdnZ2d@earthlink.com>
<wwvh6vegjtw.fsf@LkoBDZeT.terraraq.uk> <tt55t9$1h7e6$3@dont-email.me>
<zFSdnUzJ_bLabGv-nZ2dnZfqnPednZ2d@earthlink.com>
Reply-To: spamtrap42@jacob21819.net
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net xrounrEl1ro9uko8lEfNggTYYLBh2GDFrY5WylMMErPQenX+M5
Cancel-Lock: sha1:ikqOUswv4WpE1iowr5w1IRoYabk=
User-Agent: slrn/1.0.3 (Linux)
 by: Robert Riches - Thu, 23 Feb 2023 05:11 UTC

On 2023-02-23, 25B.E866 <25B.E866@noaaba.net> wrote:
> On 2/22/23 8:38 AM, The Natural Philosopher wrote:
>> On 22/02/2023 08:55, Richard Kettlewell wrote:
>>> you have a couple of options, but the
>>> sensible one is: bin it and get a computer that hasn’t been obsolete for
>>> the last 15 years.
>>
>> LOL. Is it THAT long ago?
>
> Even longer really ... more like 20 years.

Well, not quite that long, unless you were into high-end
hardware.

23 years ago, a 64-bit machine would have been something like a
US$8k Alpha UP2000 machine.

20 years ago plus or minus a month or so, the Alpha machine
developed a hardware problem with the motherboard, and the board
needed to be shipped back east for repairs (came back with a few
blue wires and a new chip or two). Its "temporary" replacement
was a machine with a $150-180 Pentium 4A, which was definitely
_NOT_ 64-bit. (I was on the design team, so I would have known.)

I don't remember exactly when, but it was at least a few years
after that that a consumer-grade 64-bit machine became available.

--
Robert Riches
spamtrap42@jacob21819.net
(Yes, that is one of my email addresses.)

Re: Int64 File Seeking ???

<tt6tkm$1pqum$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9982&group=comp.os.linux.misc#9982

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: bli...@mouse-potato.com (Bobbie Sellers)
Newsgroups: comp.os.linux.misc
Subject: Re: Int64 File Seeking ???
Date: Wed, 22 Feb 2023 21:29:58 -0800
Organization: dis-organization
Lines: 48
Message-ID: <tt6tkm$1pqum$1@dont-email.me>
References: <Uh2cnczb7I4tJmj-nZ2dnZfqnPWdnZ2d@earthlink.com>
<wwvh6vegjtw.fsf@LkoBDZeT.terraraq.uk> <tt55t9$1h7e6$3@dont-email.me>
<zFSdnUzJ_bLabGv-nZ2dnZfqnPednZ2d@earthlink.com>
<slrntvdtbb.sqn.spamtrap42@one.localnet>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 23 Feb 2023 05:29:59 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="d72364b9fd29481cffbb0550720ecc46";
logging-data="1895382"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18AGRJSqICrfXyaiy1IgGov"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:rY6/XFjDPlwCwd0qzTZI22yD4IM=
In-Reply-To: <slrntvdtbb.sqn.spamtrap42@one.localnet>
Content-Language: en-US
 by: Bobbie Sellers - Thu, 23 Feb 2023 05:29 UTC

On 2/22/23 21:11, Robert Riches wrote:
> On 2023-02-23, 25B.E866 <25B.E866@noaaba.net> wrote:
>> On 2/22/23 8:38 AM, The Natural Philosopher wrote:
>>> On 22/02/2023 08:55, Richard Kettlewell wrote:
>>>> you have a couple of options, but the
>>>> sensible one is: bin it and get a computer that hasn’t been obsolete for
>>>> the last 15 years.
>>>
>>> LOL. Is it THAT long ago?
>>
>> Even longer really ... more like 20 years.
>
> Well, not quite that long, unless you were into high-end
> hardware.
>
> 23 years ago, a 64-bit machine would have been something like a
> US$8k Alpha UP2000 machine.
>
> 20 years ago plus or minus a month or so, the Alpha machine
> developed a hardware problem with the motherboard, and the board
> needed to be shipped back east for repairs (came back with a few
> blue wires and a new chip or two). Its "temporary" replacement
> was a machine with a $150-180 Pentium 4A, which was definitely
> _NOT_ 64-bit. (I was on the design team, so I would have known.)
>
> I don't remember exactly when, but it was at least a few years
> after that that a consumer-grade 64-bit machine became available.
>
I got mine on sale about 20o6 a Pentium single core laptop for $500.

It had XP and I used that to run an Amiga Emulation which was
a Just In Time translator running on a Knoppix base which translated
68000 instructions to x86 codes and at the time was the very fastest
Amiga ever seen at 2.4 GH.
This was the machine I first ran Mandriva 2006 on.
It did not have staying power and only lasted about
4.5 years.

bliss - on the ever-faithful Dell Latitude E7450, PCLinuxOS 2022
KDE Plasma 5.27.1 Kernel Version: 6.1.13-pclos1 (64-bit)
KDE Frameworks 5.103.0 - Qt Version: 5.15.6
Graphics : X11 - Mesa Intel® HD Graphics 5500
15.5 GiB of RAM CPU 4 × Intel® Core™ i7-5600U CPU @ 2.60GHz
Actually 2 real cores and 2 virtual cores.

--
bliss dash SF 4 ever at dslextreme dot com

Re: Int64 File Seeking ???

<4dicndXexuvDY2v-nZ2dnZfqnPWdnZ2d@earthlink.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9983&group=comp.os.linux.misc#9983

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!border-1.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 23 Feb 2023 05:49:18 +0000
Subject: Re: Int64 File Seeking ???
Newsgroups: comp.os.linux.misc
References: <Uh2cnczb7I4tJmj-nZ2dnZfqnPWdnZ2d@earthlink.com>
<wwvh6vegjtw.fsf@LkoBDZeT.terraraq.uk> <tt55t9$1h7e6$3@dont-email.me>
<zFSdnUzJ_bLabGv-nZ2dnZfqnPednZ2d@earthlink.com>
<slrntvdtbb.sqn.spamtrap42@one.localnet>
From: 25B.E...@noaaba.net (25B.E866)
Organization: protonic seahorse
Date: Thu, 23 Feb 2023 00:49:17 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <slrntvdtbb.sqn.spamtrap42@one.localnet>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Message-ID: <4dicndXexuvDY2v-nZ2dnZfqnPWdnZ2d@earthlink.com>
Lines: 53
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 68.222.41.46
X-Trace: sv3-6Mz2RMHYpFf72jgsvF3yGttwQVZ4UjbcKSzwG4szufI6AjB5wxN+KFazvA1eydtonKpDtwZOoRAXet5!/m6sLXgiWp/eo3Eu+Am44HFbZTREg2CXHScF+ulfo189qnhs41NnSjafquK9bQ1xEBlxzkq8LRi5!gErbVSfLc1XsiBLRuFo=
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: 25B.E866 - Thu, 23 Feb 2023 05:49 UTC

On 2/23/23 12:11 AM, Robert Riches wrote:
> On 2023-02-23, 25B.E866 <25B.E866@noaaba.net> wrote:
>> On 2/22/23 8:38 AM, The Natural Philosopher wrote:
>>> On 22/02/2023 08:55, Richard Kettlewell wrote:
>>>> you have a couple of options, but the
>>>> sensible one is: bin it and get a computer that hasn’t been obsolete for
>>>> the last 15 years.
>>>
>>> LOL. Is it THAT long ago?
>>
>> Even longer really ... more like 20 years.
>
> Well, not quite that long, unless you were into high-end
> hardware.
>
> 23 years ago, a 64-bit machine would have been something like a
> US$8k Alpha UP2000 machine.

But the Cutting-Edgers/Gamers DID pay ...... often, I
suspect, for the same reasons involved in having THE
Latest i-Phone (and preferably taking a selfie out in
front of the Apple store) - BRAGGING RIGHTS.

We tend to denigrate the Gamers - but they, and their $$$,
tend to push along and lower the prices of the hardware.

I *do* remember when the 386 was billed as "aimed-at/
only-needed for high-end servers" ..... a year later
they were cheap and everywhere, mostly because of the
Gamers. My boss was impressed when I told him they
could do over One-MIPs ... felt he'd entered
SuperComputerLand :-) Then I went down to an
electronics-repair place we used and got some
new crystals and made it 1.5 MIPs (with homebrew
heatsinks made from Pepsi cans ... )

> 20 years ago plus or minus a month or so, the Alpha machine
> developed a hardware problem with the motherboard, and the board
> needed to be shipped back east for repairs (came back with a few
> blue wires and a new chip or two). Its "temporary" replacement
> was a machine with a $150-180 Pentium 4A, which was definitely
> _NOT_ 64-bit. (I was on the design team, so I would have known.)
>
> I don't remember exactly when, but it was at least a few years
> after that that a consumer-grade 64-bit machine became available.

The Core2 derivatives were, as I remember, the first
really affordable 64-bitters worth having. Still have
a Core2-Quad that's STILL doing some useful work - running
Bullseye-64 at this point. Those chips were surprisingly
spry and would still run 8-bit code - even native CP/M-86.

Re: Int64 File Seeking ???

<ttad61$27bbi$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9998&group=comp.os.linux.misc#9998

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: tnp...@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.os.linux.misc
Subject: Re: Int64 File Seeking ???
Date: Fri, 24 Feb 2023 13:13:37 +0000
Organization: A little, after lunch
Lines: 21
Message-ID: <ttad61$27bbi$1@dont-email.me>
References: <Uh2cnczb7I4tJmj-nZ2dnZfqnPWdnZ2d@earthlink.com>
<wwvh6vegjtw.fsf@LkoBDZeT.terraraq.uk> <tt55t9$1h7e6$3@dont-email.me>
<zFSdnUzJ_bLabGv-nZ2dnZfqnPednZ2d@earthlink.com>
<slrntvdtbb.sqn.spamtrap42@one.localnet>
<4dicndXexuvDY2v-nZ2dnZfqnPWdnZ2d@earthlink.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 24 Feb 2023 13:13:37 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="9a37c6725f4cfa5f0c4c846de80a481a";
logging-data="2338162"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+d38cdV2AI9YDSiGp348mpuWmW0ihusG4="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.7.1
Cancel-Lock: sha1:lfIJc28leym5usUirjbtmAP+aGQ=
Content-Language: en-GB
In-Reply-To: <4dicndXexuvDY2v-nZ2dnZfqnPWdnZ2d@earthlink.com>
 by: The Natural Philosop - Fri, 24 Feb 2023 13:13 UTC

On 23/02/2023 05:49, 25B.E866 wrote:
> The Core2 derivatives were, as I remember, the first
>   really affordable 64-bitters worth having

I cant remember what I had first. Probably a celeron? Dunno.
I remember people saying that 64 bits wasn't any faster, took up more
space for files and so loaded slower, and so on. Lots of religion.

ISTR I slung Debian on one at 64 bits and it worked. And was faster at
my slowest job - video editing, so I never looked back.

Currently running a secondhand quadcore I5. It does everything I need
fast enough except video editing, and I haven't done much of that recently

--
“It is hard to imagine a more stupid decision or more dangerous way of
making decisions than by putting those decisions in the hands of people
who pay no price for being wrong.”

Thomas Sowell

Re: Int64 File Seeking ???

<wwvy1onun45.fsf@LkoBDZeT.terraraq.uk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9999&group=comp.os.linux.misc#9999

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!nntp.terraraq.uk!.POSTED.tunnel.sfere.anjou.terraraq.org.uk!not-for-mail
From: inva...@invalid.invalid (Richard Kettlewell)
Newsgroups: comp.os.linux.misc
Subject: Re: Int64 File Seeking ???
Date: Fri, 24 Feb 2023 14:58:02 +0000
Organization: terraraq NNTP server
Message-ID: <wwvy1onun45.fsf@LkoBDZeT.terraraq.uk>
References: <Uh2cnczb7I4tJmj-nZ2dnZfqnPWdnZ2d@earthlink.com>
<wwvh6vegjtw.fsf@LkoBDZeT.terraraq.uk> <tt55t9$1h7e6$3@dont-email.me>
<zFSdnUzJ_bLabGv-nZ2dnZfqnPednZ2d@earthlink.com>
<slrntvdtbb.sqn.spamtrap42@one.localnet>
<4dicndXexuvDY2v-nZ2dnZfqnPWdnZ2d@earthlink.com>
<ttad61$27bbi$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: innmantic.terraraq.uk; posting-host="tunnel.sfere.anjou.terraraq.org.uk:172.17.207.6";
logging-data="98501"; mail-complaints-to="usenet@innmantic.terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:zYJ5wYBUeHBeG4VY8e7u2cZO0Bs=
X-Face: h[Hh-7npe<<b4/eW[]sat,I3O`t8A`(ej.H!F4\8|;ih)`7{@:A~/j1}gTt4e7-n*F?.Rl^
F<\{jehn7.KrO{!7=:(@J~]<.[{>v9!1<qZY,{EJxg6?Er4Y7Ng2\Ft>Z&W?r\c.!4DXH5PWpga"ha
+r0NzP?vnz:e/knOY)PI-
X-Boydie: NO
 by: Richard Kettlewell - Fri, 24 Feb 2023 14:58 UTC

The Natural Philosopher <tnp@invalid.invalid> writes:
> On 23/02/2023 05:49, 25B.E866 wrote:
>> The Core2 derivatives were, as I remember, the first
>>   really affordable 64-bitters worth having
>
> I cant remember what I had first. Probably a celeron? Dunno.
> I remember people saying that 64 bits wasn't any faster, took up more
> space for files and so loaded slower, and so on. Lots of religion.

The change that might, in theory, have negatively impacted performance
was the doubling of the size of pointers. An application that used a lot
of pointers would use more memory and therefore have more cache misses
(at multiple levels of the memory hierarchy), and a cache miss can leave
a CPU idle (or at least, pursuing speculative execution paths which
don’t pay off) for huge numbers of cycles.

In practice I never noticed anything I could attribute to that, and
everything else was getting faster at the same time (SSDs were coming in
for example).

> ISTR I slung Debian on one at 64 bits and it worked. And was faster at
> my slowest job - video editing, so I never looked back.

A good example of the kind of application which I’d expect to get a
small benefit (though the real wins in that case are likely to come from
vectorization, which I think is the same in the 32- and 64-bit ISAs).

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

Re: Int64 File Seeking ???

<ttak5s$278vn$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=10000&group=comp.os.linux.misc#10000

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: Pancho.J...@proton.me (Pancho)
Newsgroups: comp.os.linux.misc
Subject: Re: Int64 File Seeking ???
Date: Fri, 24 Feb 2023 15:13:00 +0000
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <ttak5s$278vn$1@dont-email.me>
References: <Uh2cnczb7I4tJmj-nZ2dnZfqnPWdnZ2d@earthlink.com>
<wwvh6vegjtw.fsf@LkoBDZeT.terraraq.uk> <tt55t9$1h7e6$3@dont-email.me>
<zFSdnUzJ_bLabGv-nZ2dnZfqnPednZ2d@earthlink.com>
<slrntvdtbb.sqn.spamtrap42@one.localnet>
<4dicndXexuvDY2v-nZ2dnZfqnPWdnZ2d@earthlink.com>
<ttad61$27bbi$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 24 Feb 2023 15:13:00 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="1f299682ee39f6648a7affd292ad723f";
logging-data="2335735"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/+4VAcopiASXiSecetxaCYaQu0EY/COD8="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:AwjfhpaH/79DddkJJa3RU2AlpPs=
Content-Language: en-GB
In-Reply-To: <ttad61$27bbi$1@dont-email.me>
 by: Pancho - Fri, 24 Feb 2023 15:13 UTC

On 24/02/2023 13:13, The Natural Philosopher wrote:
> On 23/02/2023 05:49, 25B.E866 wrote:
>> The Core2 derivatives were, as I remember, the first
>>    really affordable 64-bitters worth having
>
> I cant remember what I had first. Probably a celeron? Dunno.
> I remember people saying that 64 bits wasn't any faster, took up more
> space for files and so loaded slower, and so on. Lots of religion.
>
> ISTR I slung Debian on one at 64 bits and it worked. And was faster at
> my slowest job - video editing, so I never looked back.
>
> Currently running a secondhand quadcore I5. It does everything I need
> fast enough except video editing, and I haven't done much of that recently
>

My first was an Athlon 64, I had a 64 bit version of Windows XP. Getting
drivers was a bit dodgy.

As for keeping old hardware, I recently bought an Orange Pi 5, with a
desktop speed that feels comparable with a 2012 Sandy Bridge i5 2500K,
except it idles at 2 watts. If the GPU driver didn't crash/freeze the
desktop every couple of hours, the oPi5 would be a stunning machine.

Re: Int64 File Seeking ???

<o1hncjxef5.ln2@Telcontar.valinor>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=10001&group=comp.os.linux.misc#10001

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_li...@es.invalid (Carlos E.R.)
Newsgroups: comp.os.linux.misc
Subject: Re: Int64 File Seeking ???
Date: Fri, 24 Feb 2023 20:50:48 +0100
Lines: 27
Message-ID: <o1hncjxef5.ln2@Telcontar.valinor>
References: <Uh2cnczb7I4tJmj-nZ2dnZfqnPWdnZ2d@earthlink.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net l3bYY4YlsiRCBJQrxYGkVwQV2tRk/Dq0wPmVWOfwk1NJyuIIEU
X-Orig-Path: Telcontar.valinor!not-for-mail
Cancel-Lock: sha1:xjA67AtOhubsEWw25/rcMizLrs8=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.7.1
Content-Language: es-ES, en-CA
In-Reply-To: <Uh2cnczb7I4tJmj-nZ2dnZfqnPWdnZ2d@earthlink.com>
 by: Carlos E.R. - Fri, 24 Feb 2023 19:50 UTC

On 2023-02-22 07:52, 25B.E866 wrote:
> I arrived at a need to search hard drives - like
> up to 16 terabyte hard drives - AND kinda show what's
> going on. THE problem is that if you need to look at
> a SPECIFIC spot on the disk the usual "seek()"
> functions crap out - limited to longint (about 2.4
> gig). Free Pascal CLAIMS its fseek() will take an
> int64 ... but in practice I see the exact same bits
> of the disk come up again, which means it's rolling
> over. Just started experimenting with Python - I'll
> know in a day or two.

You should ask at the Lazarus mail list:

List-Id: Lazarus mailing list <lazarus.lists.lazarus-ide.org>
List-Unsubscribe: <https://lists.lazarus-ide.org/options/lazarus>,
<mailto:lazarus-request@lists.lazarus-ide.org?subject=unsubscribe>
List-Archive: <http://lists.lazarus-ide.org/pipermail/lazarus/>
List-Post: <mailto:lazarus@lists.lazarus-ide.org>
List-Help: <mailto:lazarus-request@lists.lazarus-ide.org?subject=help>
List-Subscribe: <https://lists.lazarus-ide.org/listinfo/lazarus>,
<mailto:lazarus-request@lists.lazarus-ide.org?subject=subscribe>

--
Cheers, Carlos.

Re: Int64 File Seeking ???

<vwadnYR4MuNDe2f-nZ2dnZfqnPidnZ2d@earthlink.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=10021&group=comp.os.linux.misc#10021

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Sun, 26 Feb 2023 04:58:05 +0000
Subject: Re: Int64 File Seeking ???
Newsgroups: comp.os.linux.misc
References: <Uh2cnczb7I4tJmj-nZ2dnZfqnPWdnZ2d@earthlink.com>
<wwvh6vegjtw.fsf@LkoBDZeT.terraraq.uk> <tt55t9$1h7e6$3@dont-email.me>
<zFSdnUzJ_bLabGv-nZ2dnZfqnPednZ2d@earthlink.com>
<slrntvdtbb.sqn.spamtrap42@one.localnet>
<4dicndXexuvDY2v-nZ2dnZfqnPWdnZ2d@earthlink.com>
<ttad61$27bbi$1@dont-email.me>
From: 25A.I...@noacba.net (25A.I866)
Organization: valence seaweed
Date: Sat, 25 Feb 2023 23:58:00 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <ttad61$27bbi$1@dont-email.me>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Message-ID: <vwadnYR4MuNDe2f-nZ2dnZfqnPidnZ2d@earthlink.com>
Lines: 39
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 68.222.41.46
X-Trace: sv3-seuNXeri5oPopTTYjGqGmm2Lb2dZqTFsKRUXyQzBXfJ9rCNB8zY1HHxOTodsLKW/JwwBCD791tgvBYE!tzMcFuDG0sWrSMzUpu/KWPF/ySkwxc7kGt2DJmmIcVYdZ2ZmEoDGTTTMheUYYSkHTc7ODqQt8QSQ!HLyILpG+K3BpUG47NdU=
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: 25A.I866 - Sun, 26 Feb 2023 04:58 UTC

On 2/24/23 8:13 AM, The Natural Philosopher wrote:
> On 23/02/2023 05:49, 25B.E866 wrote:
>> The Core2 derivatives were, as I remember, the first
>>    really affordable 64-bitters worth having
>
> I cant remember what I had first. Probably a celeron? Dunno.

They were ... ummm ... "ok" - but basically a "laptop chip".

> I remember people saying that 64 bits wasn't any faster, took up more
> space for files and so loaded slower, and so on. Lots of religion.

64-bits is faster if the APPS are writ for 64-bits.

> ISTR I slung Debian on one at 64 bits and it worked. And was faster at
> my slowest job - video editing, so I never looked back.
>
> Currently running a secondhand quadcore I5. It does everything I need
> fast enough except video editing, and I haven't done much of that recently

Those are perfectly good for almost anything, and notably
cheaper than i7's these days. The newer i5's are now
hexcore however.

Gen12 i5s are generally faster than Gen8/9 I7's.

Oh yea ... sometimes when I've nothing to do I tend
to benchmark things. One thing I've consistently
noticed is that lots of apps are NOT writ to take
proper advantage of multiple cores. The OS does
what it can, but often it's not much. You'll see
one core at 250% and all the others just sitting
there doing nothing. So, my advice for now, value
the CPU clockspeed over the number of cores/threads.
A low-end 2ghz with lots of cores/threads will often
be blown away by a high-end 4+ghz chip with fewer.

Re: Int64 File Seeking ???

<OJmdnYm3OboVdWf-nZ2dnZfqn_GdnZ2d@earthlink.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=10022&group=comp.os.linux.misc#10022

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!69.80.99.22.MISMATCH!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Sun, 26 Feb 2023 05:05:12 +0000
Subject: Re: Int64 File Seeking ???
Newsgroups: comp.os.linux.misc
References: <Uh2cnczb7I4tJmj-nZ2dnZfqnPWdnZ2d@earthlink.com> <wwvh6vegjtw.fsf@LkoBDZeT.terraraq.uk> <tt55t9$1h7e6$3@dont-email.me> <zFSdnUzJ_bLabGv-nZ2dnZfqnPednZ2d@earthlink.com> <slrntvdtbb.sqn.spamtrap42@one.localnet> <4dicndXexuvDY2v-nZ2dnZfqnPWdnZ2d@earthlink.com> <ttad61$27bbi$1@dont-email.me> <ttak5s$278vn$1@dont-email.me>
From: 25A.I...@noacba.net (25A.I866)
Organization: valence seaweed
Date: Sun, 26 Feb 2023 00:05:11 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <ttak5s$278vn$1@dont-email.me>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Message-ID: <OJmdnYm3OboVdWf-nZ2dnZfqn_GdnZ2d@earthlink.com>
Lines: 38
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 68.222.41.46
X-Trace: sv3-xKBCnWW0H8eZq227lSId9HldCqawL/kLqhtbVzLOf4/55D7/19s5OCqUa3AkvpSXYUhUCYbez5ill4R!KYFzyaE0d3X0j/G0x60mUbCzdzV5URq2SlVGV6ke+IxKFs9ULhAjrjvK85Z7u+dA9Qz/sLkSCOlo!Sw5EvPWKiFrn3aINW0M=
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Received-Bytes: 3301
 by: 25A.I866 - Sun, 26 Feb 2023 05:05 UTC

On 2/24/23 10:13 AM, Pancho wrote:
> On 24/02/2023 13:13, The Natural Philosopher wrote:
>> On 23/02/2023 05:49, 25B.E866 wrote:
>>> The Core2 derivatives were, as I remember, the first
>>>    really affordable 64-bitters worth having
>>
>> I cant remember what I had first. Probably a celeron? Dunno.
>> I remember people saying that 64 bits wasn't any faster, took up more
>> space for files and so loaded slower, and so on. Lots of religion.
>>
>> ISTR I slung Debian on one at 64 bits and it worked. And was faster at
>> my slowest job - video editing, so I never looked back.
>>
>> Currently running a secondhand quadcore I5. It does everything I need
>> fast enough except video editing, and I haven't done much of that
>> recently
>>
>
> My first was an Athlon 64, I had a 64 bit version of Windows XP. Getting
> drivers was a bit dodgy.

Yea .. XP64 was kinda "ahead of its time". Drivers
were VERY hard to find. As such it never became
very popular. I have a VM with it ... but almost
never fire it up.

> As for keeping old hardware, I recently bought an Orange Pi 5, with a
> desktop speed that feels comparable with a 2012 Sandy Bridge i5 2500K,
> except it idles at 2 watts. If the GPU driver didn't crash/freeze the
> desktop every couple of hours, the oPi5 would be a stunning machine.

I just experimented with an Orange (mostly because real rPIs
are almost impossible to get due to China problems). It's not
a terrible board - but the one I bought did not have built-in
WiFi and using a USB wifi SUCKED ROCKS - insanely slow. Did
find a use for it, but it's gotta be plug-in networking.

Just got in a RockPI-4c ... I'll see if it's mo-better.

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor