Re: limits in directory size

Tõivo Leedjärv <[email protected]>
Newsgroups gmane.network.unison.general
Message-ID <CAALvpZTiB+KNZ+KW6vqKse4hQNC5dr4iSuNd7GnKQhBXu_FVhg@mail.gmail.com>
On Fri, 19 Jan 2024 at 12:21, Olaf Hering <[email protected]> wrote:
>
> Are there any limits how many dentries unison can safely handle? Can one increase such limits by increasing the stack size, for example?

There are of course limits, but in practice those are expected to be
so high as to not be reached by any user. (Extremely large dir trees
could eventually hit a limit with 32 bit builds but I'd expect the
filesystem/OS to start struggling before those limits are reached).

I'd personally consider artificial limits limiting anyone but a most
extreme user a bug that needs to be fixed. Synced dir trees of several
hundred thousand entries should be fine even on modest hardware. 1M+
entries/updates are expected to work without problems, except on
systems with constrained memory (in current implementation the entire
transaction is calculated entirely in memory). One thing to note is
that the current GUI implementation can get slow when having to
process 100k+ updates; the text UI should have no such problems.

Anyone experiencing crashes or slowdowns or being limited otherwise
should not feel the need to accept it.

-- 
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.