Re: Desktop performance

2024-05-05 Thread Kirill A . Korinsky
On Sun, 05 May 2024 21:52:11 +0200,
Bodie  wrote:
> 
> openfiles is very questionable, did you measure with fstat(1) how many of
> them do you have when you run Firefox or Chrome or did you have any errors
> in logs regarding exhausting that limit?
>

I run my desktop with default settings (512) and got an issue only once,
when tried to build huge Java project with very complicated maven build
which includes a few custom plugins. Restart of that build helps.

Ok, I know second way to encoutner it. doveadm fetch over archive of mail
which contians a user with hundreds of folders.

-- 
wbr, Kirill



Re: Desktop performance

2024-05-05 Thread Bodie




On 4.5.2024 21:20, Manfred Koch wrote:

Hi,

There is no problems with performance, only tested the settings,
nevertheless I will
undo the changes to the default .
I appreciate your recommendations.
By the way the website
https://www.nechtan.io/articles/openbsd_minimalist_desktop.html
comes with the desktop suggestion.


There is the first problem for you. It's article about version 7.1.
That is more then 2 years ago, is not supported anymore and there
were a LOT of changes. Including quite specific one like disabling
of Soft updates for filesystems.

Second problem is that he does not explain why he changed some
values in sysctl or login.conf and why he picked the values he
used. That is important to know and even man page can't help
you in that unless you know internals of Unix-like systems very
well and you know what you are looking for.

eg.datasize-cur is for new installations automatically set your
RAM size for staff (not to its half) , maxproc limits are for my
new installation as well automatically double of what is in that
article. openfiles is very questionable, did you measure with
fstat(1) how many of them do you have when you run Firefox or Chrome
or did you have any errors in logs regarding exhausting that limit?

Simply start multiple programs you used, do your regular activity
inside and check how many open files you have, how many processes
running under your user or in system in general and so on and then
you will start to see if you really need to fiddle with some settings


By then and thanks
Manfred

On 5/4/24 18:19, Peter N. M. Hansteen wrote:

On Sat, May 04, 2024 at 03:41:28PM +0200, Manfred Koch wrote:

These specifications origin from a website

I could need your judgments to these settings, so that I can use it.
It would be interesting to hear which website recommended those 
settings, just

for reference.

It's hard to come up with actually generally valid answers to this 
kind of question.
It really depends on what you want to do with your system. I remember 
some packages
(chrome comes to mind) that have instructions in the package readme 
file to tweak
some of the login.conf parameters. If the software you want to use 
comes with
instructions of that kind, it may be a good idea to follow those 
suggestions.


Otherwise I would as a general rule leave things at the defaults 
unless you find

a specific reason not to.

Hm. Back in the day I did some conference tutorials on "transition to 
the most
recent OpenBSD release", with some desktop/laptop oriented tweaks I 
had found
useful myself. Some of those tweaks may still apply, but some are 
likely to
be outdated or just plain wrong to start with. But perhaps an updated 
version

would be useful to somebody?





Re: Desktop performance

2024-05-05 Thread Manfred Koch

Hello list,

thank you for all your replies to this subject.

Manfred


On 5/5/24 03:29, Chris Petrik wrote:

Hello,

The best docs I've seen are the ones in OpenBSD they praise to provide very 
nice docs, Linux by fare sucks in this regard the issue is most people who 
provide howtos are just kids who try to setup a web server and document how 
they did it, as well as you get 45 people replying the same out come but in 
different wording which makes it confusing, but it's how the BSD community is 
these days. I still run OpenBSD as a server but I stopped using FreeBSD as I 
don't see how putong all the basics of a is in the ports tree and how 
installing OpenBSD and having a working GUI and just need to install either 
gbome xfce or kde while others require you to spend time messing with drm since 
it's a port it doesn't get the same testing, then you have to add it in and 
setup x11 for simple people this is too much work and this is why I've started 
using Open or Net.

Too find good searches on Google is pretty much a dead boss and IRC is more 
about pride and I know more and you're doing it wrong and I'm right to make it 
a waste of time as well so your best bet if reading man pages or asking for 
help on a ML

Sadmy these projects you need to search before you buy you can't just buy a 
computer and expsct it to work in any BSD to be fare however OpenBSD has less 
bs in regards to drivers and the fact that fw_update makes it easier. Never 
understood the whole let's place this driver in the ports tree they make it as 
hard as it can be to install it without any internet ??

Chris

Sent from Proton Mail Android


 Original Message 
On 5/4/24 4:46 PM, Kirill A. Korinsky  wrote:


  On Sat, 04 May 2024 22:32:46 +0200,
  Chris Bennett  wrote:
  >
  > My luck with web searches is about zero. Even swapping to different
  > search engines just gives me crap that's too old or ridiculously wrong.
  >
  
  I have a strong feeling that LLM models adds too much "new" text that makes

  the OpenBSD community, which is quite small... how can I put it? Well, it
  looks like that search engine like Google or Bing seems this community to be
  too small fraction of knowledge which isn't worth to be indexed.
  
  Yes, the indexes include some old sites, but it looks like the mail listings

  are ignored, for example.
  
  --

  wbr, Kirill
  
  




Re: Desktop performance

2024-05-04 Thread Chris Petrik
Hello,

The best docs I've seen are the ones in OpenBSD they praise to provide very 
nice docs, Linux by fare sucks in this regard the issue is most people who 
provide howtos are just kids who try to setup a web server and document how 
they did it, as well as you get 45 people replying the same out come but in 
different wording which makes it confusing, but it's how the BSD community is 
these days. I still run OpenBSD as a server but I stopped using FreeBSD as I 
don't see how putong all the basics of a is in the ports tree and how 
installing OpenBSD and having a working GUI and just need to install either 
gbome xfce or kde while others require you to spend time messing with drm since 
it's a port it doesn't get the same testing, then you have to add it in and 
setup x11 for simple people this is too much work and this is why I've started 
using Open or Net.

Too find good searches on Google is pretty much a dead boss and IRC is more 
about pride and I know more and you're doing it wrong and I'm right to make it 
a waste of time as well so your best bet if reading man pages or asking for 
help on a ML

Sadmy these projects you need to search before you buy you can't just buy a 
computer and expsct it to work in any BSD to be fare however OpenBSD has less 
bs in regards to drivers and the fact that fw_update makes it easier. Never 
understood the whole let's place this driver in the ports tree they make it as 
hard as it can be to install it without any internet ??

Chris 

Sent from Proton Mail Android


 Original Message 
On 5/4/24 4:46 PM, Kirill A. Korinsky  wrote:

>  On Sat, 04 May 2024 22:32:46 +0200,
>  Chris Bennett  wrote:
>  >
>  > My luck with web searches is about zero. Even swapping to different
>  > search engines just gives me crap that's too old or ridiculously wrong.
>  >
>  
>  I have a strong feeling that LLM models adds too much "new" text that makes
>  the OpenBSD community, which is quite small... how can I put it? Well, it
>  looks like that search engine like Google or Bing seems this community to be
>  too small fraction of knowledge which isn't worth to be indexed.
>  
>  Yes, the indexes include some old sites, but it looks like the mail listings
>  are ignored, for example.
>  
>  --
>  wbr, Kirill
>  
>



Re: Desktop performance

2024-05-04 Thread Kirill A . Korinsky
On Sat, 04 May 2024 22:32:46 +0200,
Chris Bennett  wrote:
> 
> My luck with web searches is about zero. Even swapping to different
> search engines just gives me crap that's too old or ridiculously wrong.
> 

I have a strong feeling that LLM models adds too much "new" text that makes
the OpenBSD community, which is quite small... how can I put it? Well, it
looks like that search engine like Google or Bing seems this community to be
too small fraction of knowledge which isn't worth to be indexed.

Yes, the indexes include some old sites, but it looks like the mail listings
are ignored, for example.

-- 
wbr, Kirill



Re: Desktop performance

2024-05-04 Thread Chris Bennett
On Sat, May 04, 2024 at 06:19:54PM +0200, Peter N. M. Hansteen wrote:
> Hm. Back in the day I did some conference tutorials on "transition to the most
> recent OpenBSD release", with some desktop/laptop oriented tweaks I had found
> useful myself. Some of those tweaks may still apply, but some are likely to
> be outdated or just plain wrong to start with. But perhaps an updated version
> would be useful to somebody?
> 

I wouldn't mind that. I adjusted some stuff a long time ago for some
specific need, but it was so long ago that I can't remember why.
I was really new to OpenBSD (4.7 or 4.9, I can't remember which.

I have two servers, both need extra PostgreSQL connections because of a
few pages, for example. Not relevant, but just mentioning it.

I have a desktop at home. That's where I have some really old changes. I
will go read some man pages, but that isn't always helpful for specific
uses. I also have a mailbox where I keep posts that I don't want to lose
track of with good info.

My luck with web searches is about zero. Even swapping to different
search engines just gives me crap that's too old or ridiculously wrong.
But if there isn't anyone with the time or desire to do it, no
problem.

-- 
Regards,
Chris Bennett

"Who controls the past controls the future. Who controls the present controls 
the past."
 George Orwell - 1984



Re: Desktop performance

2024-05-04 Thread Manfred Koch

Hi,

There is no problems with performance, only tested the settings, 
nevertheless I will

undo the changes to the default .
I appreciate your recommendations.
By the way the website 
https://www.nechtan.io/articles/openbsd_minimalist_desktop.html

comes with the desktop suggestion.

By then and thanks
Manfred

On 5/4/24 18:19, Peter N. M. Hansteen wrote:

On Sat, May 04, 2024 at 03:41:28PM +0200, Manfred Koch wrote:

These specifications origin from a website

I could need your judgments to these settings, so that I can use it.

It would be interesting to hear which website recommended those settings, just
for reference.

It's hard to come up with actually generally valid answers to this kind of 
question.
It really depends on what you want to do with your system. I remember some 
packages
(chrome comes to mind) that have instructions in the package readme file to 
tweak
some of the login.conf parameters. If the software you want to use comes with
instructions of that kind, it may be a good idea to follow those suggestions.

Otherwise I would as a general rule leave things at the defaults unless you find
a specific reason not to.

Hm. Back in the day I did some conference tutorials on "transition to the most
recent OpenBSD release", with some desktop/laptop oriented tweaks I had found
useful myself. Some of those tweaks may still apply, but some are likely to
be outdated or just plain wrong to start with. But perhaps an updated version
would be useful to somebody?





Re: Desktop performance

2024-05-04 Thread Peter N. M. Hansteen
On Sat, May 04, 2024 at 03:41:28PM +0200, Manfred Koch wrote:
> These specifications origin from a website
> 
> I could need your judgments to these settings, so that I can use it.

It would be interesting to hear which website recommended those settings, just
for reference.

It's hard to come up with actually generally valid answers to this kind of 
question.
It really depends on what you want to do with your system. I remember some 
packages
(chrome comes to mind) that have instructions in the package readme file to 
tweak 
some of the login.conf parameters. If the software you want to use comes with 
instructions of that kind, it may be a good idea to follow those suggestions.

Otherwise I would as a general rule leave things at the defaults unless you find
a specific reason not to.

Hm. Back in the day I did some conference tutorials on "transition to the most
recent OpenBSD release", with some desktop/laptop oriented tweaks I had found
useful myself. Some of those tweaks may still apply, but some are likely to
be outdated or just plain wrong to start with. But perhaps an updated version
would be useful to somebody?

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
https://bsdly.blogspot.com/ https://www.bsdly.net/ https://www.nuug.no/
"Remember to set the evil bit on all malicious network traffic"
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.



Re: Desktop performance

2024-05-04 Thread Brian Conway
On Sat, May 4, 2024, at 8:41 AM, Manfred Koch wrote:
> Hi community,
>
> I'm a newbie and have a few questions according performance in
> workstation. The following changes I've made in sysctl.conf:
> kern.maxproc=4096
> kern.maxthread=4096
> kern.maxfiles=32768
>
> further in the login.conf:
>
> staff:\
>      :datasize-cur=4096M:\
>      :datasize-max=infinity:\
>      :maxproc-max=512:\
>      :maxproc-cur=256:\
>      :openfiles-cur=4096:\
>      :openfiles-max=4096:\
> :ignorenologin:\
> :requirehome@:\
> :tc=default:
>
> The user add to the group staff:
> usermod -L staff user
> usermod -U staff user
>
> These specifications origin from a website
>
> I could need your judgments to these settings, so that I can use it.

What problem are you trying to solve? I would not recommend blindly changing 
settings from to a web site. If you describe the issue you're encountering, 
you're more likely to receive guidance on whether any knobs are relevant to it.

Brian