assign process to cpu (core)

2016-12-08 Thread Roger Schreiter
Hello, is there a mean to get a running process running on a certain cpu (core)? Or restrict it from running on a cpu? I have a cheap Atom CPU with four cores, and all interrupts, also network traffic, is using CPU0. Thus I would like, bgpd does not use CPU0 at all, in order to avoid, havy cpu

IPv6 not working over bridge

2011-11-14 Thread Roger Schreiter
Hello, I have a router (Host B in following picture) running with OpenBSD 4.7. One phyiscal interface is bridged to a VLAN: A simplified picture of it is: (em2) v Host A---(vlan759)--Host B-Host C ^ ^

Howto set an IPv6 route?

2011-04-20 Thread Roger Schreiter
Hello, I tried: route add -inet6 2a00:1ff8:101::/48 2a00:1ff8:102:ac01::1 and got: route: 2a00:1ff8:101::/48: bad value I do not understand, what is wrong with that net? Can anyone give me a hint? Roger.

IRQ balancing

2010-12-08 Thread Roger Schreiter
Hello, I've just changed a mainboard, because the old caused problems. The machine is acting as router, and with the old board, CPU was charged about 30% with interrupt processing. Now with the new board, I have a strange load: 29 processes: 28 idle, 1 on processor CPU0 states: 0.0% user,

Re: IRQ balancing

2010-12-08 Thread Roger Schreiter
Hello Robert, I did not assume a bug or similar. Just wanted to know about IRQ balancing. Your email does answer my question about IRQ balancing. Thank you! Your hint about dmesg does however encourage me to post another mail, asking about my hardware. Roger. roberth schrieb: ... as you

sundance driver - problems with 4.7?

2010-12-08 Thread Roger Schreiter
Hello, I'm operating a router using a 4 port D-Link ethernet card with sundance chipset. Since the machine is not doing much work besides shuffling IP-packets from one NIC to onother, an Atom processor used to be sufficent. System was OpenBSD-4.6, and CPU load by interrupts was approx 30%, idle

How to figure out the error location?

2010-05-23 Thread Roger Schreiter
Hi, we've been running a BGP router on OpenBSD for the months without problems. Now it crashed two times within 4 days. After the second crash, I could have a look on the screen: uvm_fault (0xd088cfc0, 0x6c4e2000, 0, 1) - e kernel: page fault trap, code=0 Stopped at

netio problems

2009-12-22 Thread Roger Schreiter
Hi, I just downloaded netio-1.26. In the Makefile, there are the targets linux, unix, freebsd and others, but no openbsd. I first tried make freebsd, but received errors about a missing libthread. Then I tried make unix, got some warnings, but got a binary. However, the binary is not working

Changing the NIC on installed system?

2009-11-18 Thread Roger Schreiter
Hello, I did not yet understand very well, how the NIC drivers are selected. Is it done while installing OpenBSD or is it done at boot? In the latter case, I assume, I can replace a PCI network interface without changing any driver settings. If the logical interface name will be different, I

Re: Installing OpenBSD on SSD drives

2009-11-04 Thread Roger Schreiter
Jean-Frangois SIMON schrieb: ... Is there any particular problem with installing OpenBSD on a SSD HD ? I Hello, it is like for any OS on SSD HD. Make sure, you are using no swap partition! And if you are using an application, which is writing a lot of things into files, put the respective

Re: Installing OpenBSD on SSD drives

2009-11-04 Thread Roger Schreiter
Ted Unangst schrieb: ... no swap partition! This is ridiculous advice. ... a lot of things into files, put the respective dirs into ramdisks! Combined with this is even dumber. Hi, anyway, intensive swapping onto SDD HD will destroy your SDD HD. If RAM is the limiting resource in

privileged instruction fault trap

2009-10-29 Thread Roger Schreiter
Hello, we are operating a BGP router using OpenBSD 4.5 since some weeks. Till today everthing went fine. Today, the system crashed, causing an uptime much too short for an IP router. Can someone guess the cause from the console output? Can we improve the kernel stability by any settings? Panic

CPU of 50% for Interrupts?

2009-10-29 Thread Roger Schreiter
Hi, top show a CPU usage of 50% for interrupts, when my router forwards 1.5 Mbit/s of IP traffic. My router is using OpenBSD 4.5, and running with a VIA Eden Processor 1000MHz, which should imho be able to handle that amount of IP traffic as router. dmesg tells, that ACPI is not configured.

pf blocks vlan bridge even without any rule

2009-10-13 Thread Roger Schreiter
Hi, I'm using OpenBSD 4.5 on a machine with several ethernet interfaces. Since I have to share some cables with other users, two of the ethernet interfaces use VLANs. The VLAN-Ids are fixed (by the network operators leasing the cables and lines). Since two of those VLANs should build one net,

Re: pf blocks vlan bridge even without any rule

2009-10-13 Thread Roger Schreiter
Brad Tilley schrieb: ... Put log into your rules: For example, rather than 'block in' use 'block in log', etc. Then view the pflog interface to find the offending rule: tcpdump -n -e -ttt -i pflog0 Hi, I already tried this, but I couldn't find those packets in the log. Now I assume,

Re: pf blocks vlan bridge even without any rule (solved)

2009-10-13 Thread Roger Schreiter
Roger Schreiter schrieb: ... Now I assume, I rather have to bring pf to ignore the state for packets, just passing through. Hi, an explicite pass rule with the no state option solved the problem. Imho this makes sense, because a router connecting two (or more) networks and managing up

Re: pf blocks vlan bridge even without any rule

2009-10-13 Thread Roger Schreiter
Stuart Henderson schrieb: ... turn up pfctl -x to misc or noisy and see if anything useful shows up in syslog. Hi, yes, I do find than in the syslog some cryptic lines: Oct 13 17:53:32 zettachring1 /bsd: pf: BAD state: TCP out wire: 93.189.172.2:179 93.189.172.3:38167 stack: -