Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Heisenberg might have been here.


computers / comp.os.linux.misc / Re: Why Is Linux So LARGE

SubjectAuthor
* Re: Why Is Linux So LARGEcandycane
`* Re: Why Is Linux So LARGEThe Natural Philosopher
 +* Re: Why Is Linux So LARGERichard Kettlewell
 |`- Re: Why Is Linux So LARGEThe Natural Philosopher
 `- Re: Why Is Linux So LARGECarlos E. R.

1
Re: Why Is Linux So LARGE

<999115053@f172.n1.z21.fsxnet>

  copy mid

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

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!news.bbs.nz!.POSTED.agency.bbs.nz!not-for-mail
From: candycane@f172.n1.z21.fsxnet (candycane)
Newsgroups: comp.os.linux.misc
Subject: Re: Why Is Linux So LARGE
Date: Thu, 24 Aug 2023 21:12:43 +1300
Organization: fsxNet Usenet Gateway
Message-ID: <999115053@f172.n1.z21.fsxnet>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Info: news.bbs.nz; posting-host="8IWYKlztXHa0+IViEdY46zrq8kpk7dC9fTbT74JiSDQ";
logging-data="28082"; mail-complaints-to="abuse@news.bbs.nz"
User-Agent: VSoup v1.2.9.47Beta [95/NT]
X-Comment-To: Carlos E. R.
X-MailConverter: SoupGate-Win32 v1.05
 by: candycane - Thu, 24 Aug 2023 08:12 UTC

CER> Dos could lock for write or read an area of a file, for instance. And
CER> those are mandatory locks. This feature is needed for databases that
CER> run without a centralized daemon, but sharing the database file itself
CER> instead.

Linux does have posix locks from what I remember.

---------------
user <candycane> is generated from /dev/urandom

.... "42? 7 and a half million years and all you can come up with is 42?!"
___ MultiMail/Linux v0.52

Re: Why Is Linux So LARGE

<uc9lmd$3u1q0$3@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tnp@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.os.linux.misc
Subject: Re: Why Is Linux So LARGE
Date: Fri, 25 Aug 2023 08:36:45 +0100
Organization: A little, after lunch
Lines: 34
Message-ID: <uc9lmd$3u1q0$3@dont-email.me>
References: <999115053@f172.n1.z21.fsxnet>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 25 Aug 2023 07:36:45 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="d9135c77c568eefbfaa1784ed1ffc7ce";
logging-data="4130624"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19HrR2IgJMbe/N1o0ndYlXa7CfU5jwFXs0="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Cancel-Lock: sha1:yD9rNenbVyA8tkpHaedlSSW4xZU=
Content-Language: en-GB
In-Reply-To: <999115053@f172.n1.z21.fsxnet>
 by: The Natural Philosop - Fri, 25 Aug 2023 07:36 UTC

On 24/08/2023 09:12, candycane wrote:
> CER> Dos could lock for write or read an area of a file, for instance. And
> CER> those are mandatory locks. This feature is needed for databases that
> CER> run without a centralized daemon, but sharing the database file itself
> CER> instead.
>
> Linux does have posix locks from what I remember.
>
Linux has and had many forms of file locking AFAICR. No one uses them,
because file locking is itself a very unpleasant way to handle multiuser
access to a shared resource.

I spent too many hours removing file locks on files set by PCs running
windows that users had switched off, or which had crashed, without
exiting the applications that set the locks.

OTOH databases were designed from the outset to have robust multiuser
access to shared resources.

So if that is a requirement, you simply tend to use a proper SQL style
database.

> ---------------
> user <candycane> is generated from /dev/urandom
>
> ... "42? 7 and a half million years and all you can come up with is 42?!"
> ___ MultiMail/Linux v0.52
>

--
Karl Marx said religion is the opium of the people.
But Marxism is the crack cocaine.

Re: Why Is Linux So LARGE

<wwvttsnv7mt.fsf@LkoBDZeT.terraraq.uk>

  copy mid

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

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!news.chmurka.net!nntp.terraraq.uk!.POSTED.tunnel.sfere.anjou.terraraq.org.uk!not-for-mail
From: invalid@invalid.invalid (Richard Kettlewell)
Newsgroups: comp.os.linux.misc
Subject: Re: Why Is Linux So LARGE
Date: Fri, 25 Aug 2023 09:38:50 +0100
Organization: terraraq NNTP server
Message-ID: <wwvttsnv7mt.fsf@LkoBDZeT.terraraq.uk>
References: <999115053@f172.n1.z21.fsxnet> <uc9lmd$3u1q0$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="93510"; mail-complaints-to="usenet@innmantic.terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:ygwTPGoHVQv59bUpk7dFQPQN5e8=
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, 25 Aug 2023 08:38 UTC

The Natural Philosopher <tnp@invalid.invalid> writes:
> On 24/08/2023 09:12, candycane wrote:
>>> Dos could lock for write or read an area of a file, for instance. And
>>> those are mandatory locks. This feature is needed for databases that
>>> run without a centralized daemon, but sharing the database file itself
>>> instead.
>> Linux does have posix locks from what I remember.
>>
> Linux has and had many forms of file locking AFAICR. No one uses them,
> because file locking is itself a very unpleasant way to handle
> multiuser access to a shared resource.

It has advisory file locking and plenty of things use that; it’s
mandatory locking that it’s (now) missing.

> I spent too many hours removing file locks on files set by PCs running
> windows that users had switched off, or which had crashed, without
> exiting the applications that set the locks.

Unfortunately even advisory locks can result in things getting stuck
(the fact that it’s advisory doesn’t help if the thing you want to make
progress honors the advisory lock).

> OTOH databases were designed from the outset to have robust multiuser
> access to shared resources.
>
> So if that is a requirement, you simply tend to use a proper SQL style
> database.

Right. Those might be built on the advisory locking (as in the case of
SQLite) or some other strategy.

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

Re: Why Is Linux So LARGE

<uc9u0h$3vh4b$2@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tnp@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.os.linux.misc
Subject: Re: Why Is Linux So LARGE
Date: Fri, 25 Aug 2023 10:58:41 +0100
Organization: A little, after lunch
Lines: 43
Message-ID: <uc9u0h$3vh4b$2@dont-email.me>
References: <999115053@f172.n1.z21.fsxnet> <uc9lmd$3u1q0$3@dont-email.me>
<wwvttsnv7mt.fsf@LkoBDZeT.terraraq.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 25 Aug 2023 09:58:41 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="d9135c77c568eefbfaa1784ed1ffc7ce";
logging-data="4179083"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX190VqHbxEkxPzVv+ekrODz4FNswLk2LtB8="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Cancel-Lock: sha1:SldTEdD6PLPMf6rltzKHuU0tqUo=
In-Reply-To: <wwvttsnv7mt.fsf@LkoBDZeT.terraraq.uk>
Content-Language: en-GB
 by: The Natural Philosop - Fri, 25 Aug 2023 09:58 UTC

On 25/08/2023 09:38, Richard Kettlewell wrote:
> The Natural Philosopher <tnp@invalid.invalid> writes:
>> On 24/08/2023 09:12, candycane wrote:
>>>> Dos could lock for write or read an area of a file, for instance. And
>>>> those are mandatory locks. This feature is needed for databases that
>>>> run without a centralized daemon, but sharing the database file itself
>>>> instead.
>>> Linux does have posix locks from what I remember.
>>>
>> Linux has and had many forms of file locking AFAICR. No one uses them,
>> because file locking is itself a very unpleasant way to handle
>> multiuser access to a shared resource.
>
> It has advisory file locking and plenty of things use that; it’s
> mandatory locking that it’s (now) missing.
>
>> I spent too many hours removing file locks on files set by PCs running
>> windows that users had switched off, or which had crashed, without
>> exiting the applications that set the locks.
>
> Unfortunately even advisory locks can result in things getting stuck
> (the fact that it’s advisory doesn’t help if the thing you want to make
> progress honors the advisory lock).
>
>> OTOH databases were designed from the outset to have robust multiuser
>> access to shared resources.
>>
>> So if that is a requirement, you simply tend to use a proper SQL style
>> database.
>
> Right. Those might be built on the advisory locking (as in the case of
> SQLite) or some other strategy.
>

The best engineering approach is a cacheing daemon like MySQL: requests
are buffered, and honoured via a single sequential pipeline.

--
For every complex problem there is an answer that is clear, simple, and
wrong.

H.L.Mencken

Re: Why Is Linux So LARGE

<klcas0Ffj2aU4@mid.individual.net>

  copy mid

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

  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_listas@es.invalid (Carlos E. R.)
Newsgroups: comp.os.linux.misc
Subject: Re: Why Is Linux So LARGE
Date: Thu, 31 Aug 2023 16:18:08 -0400
Lines: 36
Message-ID: <klcas0Ffj2aU4@mid.individual.net>
References: <999115053@f172.n1.z21.fsxnet> <uc9lmd$3u1q0$3@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net MZWn8XPcx2TiLyADhFLAGgrFg5/y+8aiHKekp2qqSiMsQoumAv
Cancel-Lock: sha1:zlpsfFrPUKdINKJs914JwWntkvg= sha256:8AdBUtGWNGBdgXjPYkph3o9kdT0xqGAPAnGhWwD8t6w=
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <uc9lmd$3u1q0$3@dont-email.me>
 by: Carlos E. R. - Thu, 31 Aug 2023 20:18 UTC

On 2023-08-25 03:36, The Natural Philosopher wrote:
> On 24/08/2023 09:12, candycane wrote:
>>   CER> Dos could lock for write or read an area of a file, for
>> instance. And
>>   CER> those are mandatory locks. This feature is needed for databases
>> that
>>   CER> run without a centralized daemon, but sharing the database file
>> itself
>>   CER> instead.
>>
>> Linux does have posix locks from what I remember.
>>
> Linux has and had many forms of file locking AFAICR. No one uses them,
> because file locking is itself a very unpleasant way to handle multiuser
> access to a shared resource.
>
> I spent too many hours removing file locks on files set by PCs running
> windows that users had switched off, or which had crashed, without
> exiting the applications that set the locks.
>
> OTOH databases were designed from the outset to have robust multiuser
> access to shared resources.
>
> So if that is a requirement, you simply tend to use a proper SQL style
> database.

Meaning a central database engine aka daemon, which is a different
animal. A rogue application might still access the database (files)
directly bypassing the controls in the engine.

As I said, I have no argument about which is better or worse.

--
Cheers,
Carlos E.R.

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor