Re: openbsd vs freebsd NAT performance

2016-04-16 Thread Philip Guenther
On Sat, Apr 16, 2016 at 5:10 AM, bluesun08 wrote: > beside OpenBSD 5.8 i installed FreeBSD 10.3 on my router-pc. For routing i > use pf. > I noticed that the routing/NAT-performance is in FreeBSD noticeable higher > than in OpenBSD. I think that is due to the SMP-support of pf in FreeBSD. > > Is

Re: amd5.9 mp softdep bufcachepercent

2016-04-16 Thread Tinker
Can you please test the kern.bufcachepercent values 10, 20 and 90 separately and have each of those individual tests based on 5 tests each for the respective setting? You would need to ensure that the buf cache had equal contents at each test iteration, so each test needs to be preceded by a r

amd5.9 mp softdep bufcachepercent

2016-04-16 Thread Predrag Punosevac
I rm -rf /usr/ports on the newly upgraded laptop running generic 5.9 amd MP kernel. /usr is mounted with the option softdep. It took ages for rm to finish. Laptop has 4GB of RAM. The HDD is SSD with the capacity 931 GB and fully encrypted. Playing little bit with sysctl bufcacheparcent and BUF

Re: amd5.9 mp softdep bufcachepercent

2016-04-16 Thread Tinker
..And if you buy more RAM someday remember that the buffer cache is limited to 32 bits currently i.e. <4GB in total size. I trust that limit will be lifted someday. On 2016-04-17 11:50, Tinker wrote: Just set it to 90?? (And ensure you set the right thing i.e. kern.bufcachepercent rightly sp

Re: amd5.9 mp softdep bufcachepercent

2016-04-16 Thread Tinker
Just set it to 90?? (And ensure you set the right thing i.e. kern.bufcachepercent rightly spelled.) On 2016-04-17 11:43, Predrag Punosevac wrote: I rm -rf /usr/ports on the newly upgraded laptop running generic 5.9 amd MP kernel. /usr is mounted with the option softdep. It took ages for rm t

Re: Upgrade to 5.9 full disk encryption

2016-04-16 Thread Predrag Punosevac
Bryan Everly wrote: > > Boot the installer. Exit to the shell. Then do: > > bioctl -c C -l /dev/sd0a softraid0 > Unless I did something really stupid I would swear that I upgraded fully encrypted laptop running 5.8 to 5.9 easier. I downloaded bsd.rd for 5.9 and put into /. Then I rebooted the

Re: Odd (incorrect?) zsh output

2016-04-16 Thread Christian Weisgerber
On 2016-04-16, Geoff Wozniak wrote: > How can I go about determining why this is happening? That is, > what are some good techniques on OpenBSD that let me debug this? > And are there any clues that anyone can recommend I keep an eye > out for? My first guess would be different shell initial

Re: Odd (incorrect?) zsh output

2016-04-16 Thread Ted Unangst
Geoff Wozniak wrote: > > # zsh -c 'x=$(false); echo $?' > 0 > > This seemed odd to me; I expect the result to be '1'. In fact, > '1' is what both ksh and bash produce on the same system. On > other systems I have access to (Linux variants, FreeBSD, other > OpenBSD installs), ksh, bash, a

Odd (incorrect?) zsh output

2016-04-16 Thread Geoff Wozniak
Immediately after a fresh install of 5.9 on my Thinkpad X200, I installed zsh5.2p2 using "pkg_add zsh" (via openbsd.cs.toronto.edu). I then ran a test. # zsh -c 'x=$(false); echo $?' 0 This seemed odd to me; I expect the result to be '1'. In fact, '1' is what both ksh and bash produce on

Re: openbsd vs freebsd NAT performance

2016-04-16 Thread Mike Burns
On 2016-04-16 12.57.56 -0700, bluesun08 wrote: > So, please can you say me how to activate SMP pf support in OpenBSD ? Be sure to run a MP kernel. You can verify with: dmesg | grep MP To track progress so you know where to help, search tech@ for "unlock": http://marc.info/?l=openbsd-tech&w=2&r=1&

Re: openbsd vs freebsd NAT performance

2016-04-16 Thread bluesun08
So, please can you say me how to activate SMP pf support in OpenBSD ? -- View this message in context: http://openbsd-archive.7691.n7.nabble.com/openbsd-vs-freebsd-NAT-performance-tp294095p294121.html Sent from the openbsd user - misc mailing list archive at Nabble.com.

Re: Help with IPsec multiple transform policy

2016-04-16 Thread Vijay Sankar
Quoting Sly Midnight : > I got it to work exactly as you suggested using isakmpd.conf. > > It took me quite a bit of searching to find the correct sort of syntax > for that file to achieve what I wanted but it now allows me to connect. > > But I've run into another issue that I cannot resolve my

Re: Standard way to create a generic queue in ksh

2016-04-16 Thread Raul Miller
The way I have created a queue in shell is: (1) create a directory to manage queue entries. (2) file names in that directory are high precision timer values (3) file contents in that directory are command lines. Then you need something to service the queue. In my case, I also decided that I coul

Re: openbsd vs freebsd NAT performance

2016-04-16 Thread Mihai Popescu
> Hi, > beside OpenBSD 5.8 i installed FreeBSD 10.3 on my router-pc. For routing i > use pf. Pf has not very much to do with routing, as I remembeer. Can you give more details? > I noticed that the routing/NAT-performance is in FreeBSD noticeable higher > than in OpenBSD. How did you test? The

dhcp-class-identifier in dhclient

2016-04-16 Thread mxb
Hey, is there any reason to no setting dhcp-class-indentifier by default in dhclient? My guess is that this is probably not mandatory? //mxb

Re: diff for help.1

2016-04-16 Thread Theo de Raadt
>Why not ed? And why not list all commands?? Because it is unneccessary. I believe you are not trying to contribute anything valuable with your comment.

new

2016-04-16 Thread Tito Mari Francis Escano
0 C Philippines P National Capital Region T Taguig City Z 1633 O EDGEKIT Computer Systems I Tito Mari Francis H. Escano A Block 1 Lot 24 Zone 1 Central Bicutan M titomarifran...@edgekit.com U http://www.edgekit.com/ B +63 916 640 2020 X N/A N EDGEKIT Computer Systems is proudly the only company in

openbsd vs freebsd NAT performance

2016-04-16 Thread bluesun08
Hi, beside OpenBSD 5.8 i installed FreeBSD 10.3 on my router-pc. For routing i use pf. I noticed that the routing/NAT-performance is in FreeBSD noticeable higher than in OpenBSD. I think that is due to the SMP-support of pf in FreeBSD. Is there also a SMP support (intended) in OpenBSD? Regards

Re: Help with IPsec multiple transform policy

2016-04-16 Thread Sly Midnight
I got it to work exactly as you suggested using isakmpd.conf. It took me quite a bit of searching to find the correct sort of syntax for that file to achieve what I wanted but it now allows me to connect. But I've run into another issue that I cannot resolve myself. Once I connect from ANY clien

Re: Standard way to create a generic queue in ksh

2016-04-16 Thread andrew fabbro
On Sat, Apr 16, 2016 at 4:32 AM, Craig Skinner wrote: > A bloated way to do that is with an SQLite database, with a table's > unique primary key being some (job number) attribute. Another column > could auto timestamp on row insertion, so you could query on job number > or time added. Unless you'

Re: diff for help.1

2016-04-16 Thread Rob Pierce
> From: "Pavan Maddamsetti" > To: "misc" > Sent: Friday, April 15, 2016 10:55:28 PM > Subject: Re: diff for help.1 > > Why not ed? vi(1) mentions ex(1) which is maybe good enough for a new user. Both the "Welcome to OpenBSD" email message as well as help.1 reference man and highlight the

Re: Standard way to create a generic queue in ksh

2016-04-16 Thread Craig Skinner
Hi Jon, On Fri, Apr 15, 2016 at 10:29:24PM +0200, Jon S wrote: > > As a port of a backup solution, i needa a queue. Having looked around the > net, i haven found any standard way (besides named pipes) that I can use. > Here's some shell scripting suggestions (which can be BASH specfic...) http:

library-specs(7) erratum

2016-04-16 Thread Bob NW8L
Hello, Now that architectures without shared libraries aren't supported [1], shouldn't the reference to them should be removed from library-specs(7)? Index: library-specs.7 === RCS file: /cvs/src/share/man/man7/library-specs.7,v r