Re: Desktop performance
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
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
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
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
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
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
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
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
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
Desktop performance
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. Thanks Manfred OpenBSD 7.5 (GENERIC.MP) #82: Wed Mar 20 15:48:40 MDT 2024 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 16917565440 (16133MB) avail mem = 16383655936 (15624MB) random: good seed from bootblocks mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 3.3 @ 0x95d5d000 (104 entries) bios0: vendor American Megatrends Inc. version "1601" date 05/07/2022 bios0: Wortmann_AG 1001336;2110226 efi0 at bios0: UEFI 2.7 efi0: American Megatrends rev 0x50013 acpi0 at bios0: ACPI 6.2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP MCFG FIDT MSDM SSDT SSDT SSDT HPET APIC SSDT SSDT NHLT LPIT SSDT SSDT DBGP DBG2 SSDT DMAR SSDT BGRT TPM2 PTDT WSMT FPDT acpi0: wakeup devices PEG1(S4) PEGP(S4) PEGP(S4) RP09(S4) PXSX(S4) RP10(S4) PXSX(S4) RP11(S4) PXSX(S4) RP12(S4) PXSX(S4) RP13(S4) PXSX(S4) RP14(S4) PXSX(S4) RP15(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimcfg0 at acpi0 acpimcfg0: addr 0xe000, bus 0-255 acpihpet0 at acpi0: 2399 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: 11th Gen Intel(R) Core(TM) i5-11400 @ 2.60GHz, 4190.56 MHz, 06-a7-01, patch 005e cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,AVX512F,AVX512DQ,RDSEED,ADX,SMAP,AVX512IFMA,CLFLUSHOPT,PT,AVX512CD,SHA,AVX512BW,AVX512VL,AVX512VBMI,UMIP,PKU,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,IBRS_ALL,SKIP_L1DFL,MDS_NO,IF_PSCHANGE,MISC_PKG_CT,ENERGY_FILT,DOITM,SBDR_SSDP_N,FB_CLEAR,GDS_CTRL,XSAVEOPT,XSAVEC,XGETBV1,XSAVES cpu0: 48KB 64b/line 12-way D-cache, 32KB 64b/line 8-way I-cache, 512KB 64b/line 8-way L2 cache, 12MB 64b/line 16-way L3 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 24MHz cpu0: mwait min=64, max=64, C-substates=0.2.0.1.2.1.1.1, IBE cpu1 at mainbus0: apid 2 (application processor) cpu1: 11th Gen Intel(R) Core(TM) i5-11400 @ 2.60GHz, 4190.56 MHz, 06-a7-01, patch 005e cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,AVX512F,AVX512DQ,RDSEED,ADX,SMAP,AVX512IFMA,CLFLUSHOPT,PT,AVX512CD,SHA,AVX512BW,AVX512VL,AVX512VBMI,UMIP,PKU,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,IBRS_ALL,SKIP_L1DFL,MDS_NO,IF_PSCHANGE,MISC_PKG_CT,ENERGY_FILT,DOITM,SBDR_SSDP_N,FB_CLEAR,GDS_CTRL,XSAVEOPT,XSAVEC,XGETBV1,XSAVES cpu1: 48KB 64b/line 12-way D-cache, 32KB 64b/line 8-way I-cache, 512KB 64b/line 8-way L2 cache, 12MB 64b/line 16-way L3 cache cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 4 (application processor) cpu2: 11th Gen Intel(R) Core(TM) i5-11400 @ 2.60GHz, 4190.56 MHz, 06-a7-01, patch 005e cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,AVX512F,AVX512DQ,RDSEED,ADX,SMAP,AVX512IFMA,CLFLUSHOPT,PT,AVX512CD,SHA,AVX512BW,AVX512VL,AVX512VBMI,UMIP,PKU,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,IBRS_ALL,SKIP_L1DFL,MDS_NO,IF_PSCHANGE,MISC_PKG_CT,ENERGY_FILT,DOITM,SBDR_SSDP_N,FB_CLEAR,GDS_CTRL,XSAVEOPT,XSAVEC,XGETBV1,XSAVES cpu2: 48KB 64b/line 12-way D-cache, 32KB 64b/line 8-way I-cache, 512KB 64b/line 8-way L2 cache, 12MB 64b/line 16-way L3 cache cpu2: smt 0, core 2, package 0 cpu3 at mainbus0: apid 6 (application processor) cpu3: 11th Gen Intel(R) Core(TM) i5-11400 @ 2.60GHz, 4190.56 MHz, 06-a7-01, patch 005e cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFL