Re: dmesg - cpu, smt, core, package

2022-02-10 Thread Stuart Henderson
On 2022-02-09, Hrvoje Popovski wrote: > On 9.2.2022. 19:04, Kapetanakis Giannis wrote: >> On 09/02/2022 19:48, Mihai Popescu wrote: >>> $ dmesg | grep smt >>> cpu0: smt 0, core 0, package 0 >>> cpu1: smt 1, core 0, package 0 >>> cpu2: smt 0, core 1, package 0 >>> cpu3: smt 1, core 1, package 0 >>>

Re: Capturing redirected packets?

2022-02-10 Thread Stuart Henderson
On 2022-02-08, Mike Fischer wrote: > Hi! > > I have PF rules redirecting packets to an IP on one interface (rdomain 1) to > the IP of another interface (rdomain 0): > > pass in log on rdomain 1 inet proto tcp to $ipv4b port 80 rdr-to $ipv4a port > 8080 rtable 0 > pass in log on rdomain 1 inet6 p

Re: dmesg - cpu, smt, core, package

2022-02-10 Thread Todd C . Miller
On Thu, 10 Feb 2022 08:46:37 +, Stuart Henderson wrote: > The numbers come from what's reported by the relevant CPUID instruction, > the only one actually used by OpenBSD is smt to disable all but one > thread in a core, otherwise they're just for information. > > I'm not sure the reason for t

Re: What happened to www/art on CVSWeb? Why is it empty?

2022-02-10 Thread Nick Holland
On 2/10/22 6:34 AM, Kacper Wilgus wrote: I tried to download some artwork from these pages: https://www.openbsd.org/art1.html https://www.openbsd.org/art2.html https://www.openbsd.org/art3.html But only the first one has an image, the rest of them give me 404 errors and I swear they used to be

Re: dmesg - cpu, smt, core, package

2022-02-10 Thread Mihai Popescu
> ... gaps ... What gaps are you referring to? The ones in dmesg for Intel in OP? Also the smt is from simultaneous multithreading? top also has a strange report, but i think is is known. sysctl hw. has 2 cpu online from 4 found. load averages: 0.37, 0.43, 0.21hp.my.do

Re: What happened to www/art on CVSWeb? Why is it empty?

2022-02-10 Thread Marc Espie
On Thu, Feb 10, 2022 at 11:25:40AM -0500, Nick Holland wrote: > On 2/10/22 6:34 AM, Kacper Wilgus wrote: > > I tried to download some artwork from these pages: > > > > https://www.openbsd.org/art1.html > > https://www.openbsd.org/art2.html > > https://www.openbsd.org/art3.html > > > > But only th

Re: dmesg - cpu, smt, core, package

2022-02-10 Thread Stuart Henderson
On 2022-02-10, Mihai Popescu wrote: >> ... gaps ... > > What gaps are you referring to? The ones in dmesg for Intel in OP? in Hrvoje's dmesg for AMD. > Also the smt is from simultaneous multithreading? yes (hyperthreading on Intel CPUs), these are what are disabled by the default setting hw.smt

Re: Capturing redirected packets?

2022-02-10 Thread Mike Fischer
> Am 10.02.2022 um 09:55 schrieb Stuart Henderson : > > On 2022-02-08, Mike Fischer wrote: >> Hi! >> >> I have PF rules redirecting packets to an IP on one interface (rdomain 1) to >> the IP of another interface (rdomain 0): >> >> pass in log on rdomain 1 inet proto tcp to $ipv4b port 80 rdr

Re: Capturing redirected packets?

2022-02-10 Thread Stuart Henderson
On 2022-02-10, Mike Fischer wrote: >> The redirection to an address on the local machine is just internal to >> the machine; those would only show a second time in tcpdump if they were >> being sent to another machine. > > Ok, thanks. So there is no way to trace rdr-to (other than possibly doing l

Re: dmesg - cpu, smt, core, package

2022-02-10 Thread Mihai Popescu
I see in the AMD spec that I have a 4 core CPU, no *-threading. So it is 4 core, 4 threads, no multi, simultaneous, hyper, etc. Still the sysctl hw.ncpuonline reports 2, but it found 4 and top displays CPU0 and CPU2 only ( that is 2). I am aware that each pair of cores is using a shared FPU. My qu

Re: dmesg - cpu, smt, core, package

2022-02-10 Thread Hrvoje Popovski
On 10.2.2022. 16:38, Todd C. Miller wrote: > On Thu, 10 Feb 2022 08:46:37 +, Stuart Henderson wrote: > >> The numbers come from what's reported by the relevant CPUID instruction, >> the only one actually used by OpenBSD is smt to disable all but one >> thread in a core, otherwise they're just

Re: What happened to www/art on CVSWeb? Why is it empty?

2022-02-10 Thread Janne Johansson
Aren't they under images/ ? Den tors 10 feb. 2022 17:53Marc Espie skrev: > On Thu, Feb 10, 2022 at 11:25:40AM -0500, Nick Holland wrote: > > On 2/10/22 6:34 AM, Kacper Wilgus wrote: > > > I tried to download some artwork from these pages: > > > > > > https://www.openbsd.org/art1.html > > > https

Re: dmesg - cpu, smt, core, package

2022-02-10 Thread Mihai Popescu
> you mean gaps because HT is disabled ? I think they are disabled from the factory, cores that are not 100% functional, i.e defects. There is one line for a family, the luckiest ones have the maximum number of cores and $$$, the rest are lower but still functional on the advertised cores.

Re: dmesg - cpu, smt, core, package

2022-02-10 Thread Hrvoje Popovski
On 10.2.2022. 20:03, Mihai Popescu wrote: >> you mean gaps because HT is disabled ? > > I think they are disabled from the factory, cores that are not 100% > functional, i.e defects. > There is one line for a family, the luckiest ones have the maximum > number of cores and $$$, the rest are lower

Re: dmesg - cpu, smt, core, package

2022-02-10 Thread Stuart Henderson
On 2022-02-10, Mihai Popescu wrote: > I see in the AMD spec that I have a 4 core CPU, no *-threading. So it > is 4 core, 4 threads, no multi, simultaneous, hyper, etc. > Still the sysctl hw.ncpuonline reports 2, but it found 4 and top > displays CPU0 and CPU2 only ( that is 2). I am aware that eac

Re: dmesg - cpu, smt, core, package

2022-02-10 Thread Mihai Popescu
I did set hw.smt=1 and all are shown now "online". I'm a little bit worry since I switched to this cpu from a 2 core AMD. Total mess in the CPU manufacturer yard. But we cannot produce our own cpu in the kitchen, can't we? # sysctl hw.smt=1 hw.smt: 0 -> 1 hw.machine=amd64 hw.model=AMD A8-5500B AP

Re: What happened to www/art on CVSWeb? Why is it empty?

2022-02-10 Thread Theo de Raadt
It is empty because we have other more important things to take care of. Our sincere apologies for the inconvenience. Kacper Wilgus wrote: > I tried to download some artwork from these pages: > > https://www.openbsd.org/art1.html > https://www.openbsd.org/art2.html > https://www.openbsd.org/

Re: Capturing redirected packets?

2022-02-10 Thread David Gwynne
> On 10 Feb 2022, at 18:55, Stuart Henderson wrote: > > Normally if you have two addresses on the same lan you'd configure them > as aliases on the one interface, this seems a bit of a non-standard > config. If aggr/trunk to increase bandwidth makes sense, then you can think of configuring mu