Últimos Lugares para Licitaciones Públicas en México 26 de Noviembre

2010-11-17 Thread LIc. Cecilia León
[IMAGE]

Presenta

Licitaciones Pzblicas de Adquisiciones, Arrendamientos y Servicios  del
Sector Pzblico

26 Noviembre, Mixico D.F., 10 Horas de Capacitacisn Efectiva impartidas
por nuestro consultor Mtro. Alberto Ledesma Gonzalez

PMS Capacitacisn Efectiva de Mixico . le presenta este exclusivo
seminario, los gobiernos federal, estatal y municipal, asm como las
dependencias y entidades del sector pzblico requieren adquirir bienes,
arrendar bienes muebles o contratar la prestacisn de servicios, con
procedimientos de licitaciones pzblicas para la contratacisn con
proveedores del sector privado, las Contrataciones y Licitaciones Deberan
Preferenciar a este Sector, por lo que es Imprescindible Conocer las
Reformas a la Ley de Adquisiciones Publicadas en el D.O.F. 28/05/09, asm
como las Directrices de Interpretacisn de la Secretarma de la Funcisn
Pzblica.

Estas son Oportunidades de Negocio en Rubros Tales como: Mantenimiento de
Oficinas, Material Elictrico, Material de Construccisn, Impresos,
Uniformes, Herramientas, Refacciones, Equipos y Materiales Midicos,
Materiales y Artmculos de Oficina, Mobiliario, Mantenimiento de Equipos
de Csmputo entre muchos otros.

?A Quiin va Dirigido?

Empresarios, Lmderes de Proyecto, Ejecutivos de Cuenta, Servidores 
Pzblicos Relacionados con Cualquier Proceso de Contrataciones y
Licitaciones de Adquisiciones, Arrendamientos y Servicios del Sector
Pzblico.

Beneficios para usted:

-Los participantes conoceran y aplicaran las disposiciones legales,
normativas y

Administrativas para llevar a cabo los procedimientos de contratacisn de
adquisiciones, arrendamientos y servicios de cualquier naturaleza que
requiera el Sector Pzblico Federal,

a travis de las Dependencias y Entidades de la Administracisn Pzblica
Federal, asm como

los Gobiernos Estatales y Municipales, que manejen o apliquen recursos
econsmicos del Presupuesto de Egresos de la Federacisn autorizado para el
Ejercicio Presupuestal correspondiente.

Ventajas de asistir a nuestro seminario:

Es la forma mas efectiva para mantenerse a la vanguardia, le brindara
estrategias aplicables en su organizacisn, ademas del experto consultor,
usted retroalimentara experiencias con participantes de mzltiples
empresas que le daran un enfoque diferente y soluciones exitosas.

!Promociones Especiales para grupos!

Capacitacisn Impartida por: Mtro. Alberto Ledesma Gonzalez.

Pms Capacitacisn Efectiva de Mixico presenta:

Licitaciones Pzblicas de Adquisiciones, Arrendamientos y Servicios, 10
Hrs. de Entrenamiento.

Experto Consultor Mtro. Alberto Ledesma Gonzalez

Empresa Registrada ante la STPS Reg. COLG640205CP30005

Mayores informes responda este correo electrsnico con los siguientes
datos.
Empresa:
Nombre:
Telifono:
Email:
Nzmero de Interesados:
Y en breve le haremos llegar la informacisn completa del evento. 
O bien comunmquense a nuestros telifonos  un ejecutivo con gusto le
atendera
Tels. (33) 8851-2365, (33)8851-2741.

Copyright (C) 2010, PMS Capacitacisn Efectiva de Mixico  S.C. Derechos
Reservados. PMS de Mixico, El logo de PMS de Mixico son marcas
registradas. ADVERTENCIA PMS de Mixico no cuenta con alianzas
estratigicas de ningzn tipo dentro de la Republica Mexicana. NO SE DEJE
ENGAQAR - DIGA NO A LA PIRATERIA. Todos los logotipos, marcas comerciales
e imagenes son propiedad de sus respectivas corporaciones y se utilizan
con fines informativos solamente.

Este Mensaje ha sido enviado a misc@openbsd.org como usuario de Pms de
Mixico o bien un usuario le refiris para recibir este boletmn.
Como usuario de Pms de Mixico, Si usted ha recibido este mensaje por
error, haga caso omiso de el y reporte su cuenta respondiendo este correo
con el subject BAJAlicitaciones

Unsubscribe to this mailing list, reply a blank message with the subject
UNSUBSCRIBE BAJAlicitaciones
Tenga en cuenta que la gestisn de nuestras bases de datos es de suma
importancia y no es intencisn de la empresa la inconformidad del
receptor.

[demime 1.01d removed an attachment of type image/jpeg which had a name of 
image003.jpg]



Re: snapshot upgrade won't skip fsck

2010-11-17 Thread Peter Hessler
On 2010 Nov 17 (Wed) at 21:48:57 + (+), Peter Miller wrote:
:I have 2 usb hard drives in my /etc/fstab. I don't have these drives
:with me all the time, and had them unplugged during my upgrade (so i
:didn't inadvertently install to one of them).
...
:relevant section of fstab i commented out in order to upgrade
:
:# my drives
:5dbd5372ca23d268.d /mnt/Dane ffs rw,nodev,nosuid,softdep 0 0
:93b2b19e02be3f39.d /mnt/Cook ffs rw,nodev,nosuid,softdep 0 0

I use 'noauto' on drives that I do not always have available.  And
fsck/upgrades do the right thing when they see 'noauto'.

-- 
Sure, Reagan has promised to take senility tests.  But what if he
forgets?



Re: snapshot upgrade won't skip fsck

2010-11-17 Thread Otto Moerbeek
On Wed, Nov 17, 2010 at 09:48:57PM +, Peter Miller wrote:

> I upgraded to a more current snapshot the other day and after fsck
> ran on the root partition, it asked if i wanted to fsck the other
> partitions. I typed "no", but it ran anyways, causing a failure and
> therefore aborting the install because some disks were missing.
> 
> I have 2 usb hard drives in my /etc/fstab. I don't have these drives
> with me all the time, and had them unplugged during my upgrade (so i
> didn't inadvertently install to one of them).
> 
> I tried to upgrade a couple times, but i have to comment out my usb
> drives before i can successfully run the upgrade. The upgrade asked
> me whether or not I wanted to fsck the other partitions, so i figure
> it should at least obey my answer.
> 
> OpenBSD 4.8-current (GENERIC.MP) #627: Fri Nov 12 23:00:53 MST 2010
> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> 
> relevant section of fstab i commented out in order to upgrade
> 
> # my drives
> 5dbd5372ca23d268.d /mnt/Dane ffs rw,nodev,nosuid,softdep 0 0
> 93b2b19e02be3f39.d /mnt/Cook ffs rw,nodev,nosuid,softdep 0 0
> 
> -- 
> Later
> Peter

The installer only asks if you want to do a *forced* fsck ora
non-forced. The fsck is always done for all devices in fstab. The only
differences is whether -y is used or not. 

-Otto



Re: ESXi client / NFS server performance

2010-11-17 Thread Emille Blanc
The NFS server (4.8 release) from which the exports are mounted is a 
virtual guest on the ESXi 4.1 host.
Transfer rates to/from the virtual NFS server guest to another guest are 
a little faster on average (which makes some modicum of sense in my 
mind...) than from the NFS guest to a physically separate machine.


The VM guests are using em(4) if that's any help.

On 10-11-17 9:28 PM, Steven Surdock wrote:

My OBSD (4.8-stable) virtual machine (ESXi 3.5) to OBSD (4.8-stable)
physical machine isn't too bad:

ssurd...@builder03$ sudo dd if=/dev/zero of=/mnt/VMware/test.dat bs=16k
count=>
32000+0 records in
32000+0 records out
524288000 bytes transferred in 19.466 secs (2691 bytes/sec)

But, from the ESXi console it sucks.

Was your NFS server physical or virtual?

-Steve S.


-Original Message-
From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf

Of

Emille Blanc
Sent: Wednesday, November 17, 2010 11:59 PM
To: misc@openbsd.org
Subject: Re: ESXi client / NFS server performance

This may be a bit late, but for what it's worth, 4.8 -release as an

ESXi

4.1 client without any knob tweaking and pf running the default

ruleset.

Haven't done anything with ESXi 3.5 though, so I'm not sure what to

say on

that front.

---...@memnarch:/home $ uname -a
OpenBSD memnarch.sarlok.com 4.8 GENERIC#136 i386 ---...@memnarch:/home

$

sudo dd if=/dev/zero of=/home/test.dat bs=16k
count=32000
32000+0 records in
32000+0 records out
524288000 bytes transferred in 15.163 secs (34576797 bytes/sec) -
e...@memnarch:/home $ sudo dd of=/dev/null if=/home/test.dat bs=16k
count=32000
32000+0 records in
32000+0 records out
524288000 bytes transferred in 13.937 secs (37617959 bytes/sec) -
e...@memnarch:/home $ mount | grep exports 172.16.100.250:/exports/home

on

/home type nfs (v3, udp, timeo=100,
retrans=101)
---...@memnarch:/home $ dmesg | head -10 OpenBSD 4.8 (GENERIC) #136:

Mon

Aug 16 09:06:23 MDT 2010
  dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Xeon(R) CPU E5504 @ 2.00GHz ("GenuineIntel" 686-class)

2

GHz
cpu0:


FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,
CF

LUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,SSE3,SSSE3,SSE4.1,SSE4.2,POPCNT
real mem  = 536375296 (511MB)
avail mem = 517644288 (493MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 09/22/09, BIOS32 rev. 0 @

0xfd780,

SMBIOS rev. 2.4 @ 0xe0010 (98 entries)
bios0: vendor Phoenix Technologies LTD version "6.00" date 09/22/2009
bios0: VMware, Inc. VMware Virtual Platform





--
http://blog.sarlok.com/
Sometimes all the left hand needs to know is where the right hand is, so 
it knows where to point the blame.




Re: OpenVPN with CARP

2010-11-17 Thread Steven Surdock
I run OpenVPN on the loopback and then rdr-to from the CARP interface to
the loopback.  PF gracefully handles the rest.

-Steve S.

> -Original Message-
> From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf
Of
> Elliott Barrere
> Sent: Wednesday, November 17, 2010 7:14 PM
> To: misc@openbsd.org
> Subject: OpenVPN with CARP
>
> Hi all,
>
> I have a set of OpenBSD firewalls running CARP for failover and
OpenVPN
> (in UDP mode) for remote access.  The problem is that when I don't
specify
> an address in the OpenVPN config file, return packets from the BSD
boxes
> to remote clients are sent from the local interface address rather
than
> the shared CARP address.  It looks like packets generated from this
box do
> the same.
>
> Is there a way to a) force the origination address for these packets
to
> the CARP address (why wouldn't they do that anyway I wonder?) or b)
NAT
> them in some way to make it work?
>
> Thanks for any help!



Re: ESXi client / NFS server performance

2010-11-17 Thread Steven Surdock
My OBSD (4.8-stable) virtual machine (ESXi 3.5) to OBSD (4.8-stable)
physical machine isn't too bad:

ssurd...@builder03$ sudo dd if=/dev/zero of=/mnt/VMware/test.dat bs=16k
count=>
32000+0 records in
32000+0 records out
524288000 bytes transferred in 19.466 secs (2691 bytes/sec)

But, from the ESXi console it sucks.

Was your NFS server physical or virtual?

-Steve S.

> -Original Message-
> From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf
Of
> Emille Blanc
> Sent: Wednesday, November 17, 2010 11:59 PM
> To: misc@openbsd.org
> Subject: Re: ESXi client / NFS server performance
>
> This may be a bit late, but for what it's worth, 4.8 -release as an
ESXi
> 4.1 client without any knob tweaking and pf running the default
ruleset.
> Haven't done anything with ESXi 3.5 though, so I'm not sure what to
say on
> that front.
>
> ---...@memnarch:/home $ uname -a
> OpenBSD memnarch.sarlok.com 4.8 GENERIC#136 i386 ---...@memnarch:/home
$
> sudo dd if=/dev/zero of=/home/test.dat bs=16k
> count=32000
> 32000+0 records in
> 32000+0 records out
> 524288000 bytes transferred in 15.163 secs (34576797 bytes/sec) -
> e...@memnarch:/home $ sudo dd of=/dev/null if=/home/test.dat bs=16k
> count=32000
> 32000+0 records in
> 32000+0 records out
> 524288000 bytes transferred in 13.937 secs (37617959 bytes/sec) -
> e...@memnarch:/home $ mount | grep exports 172.16.100.250:/exports/home
on
> /home type nfs (v3, udp, timeo=100,
> retrans=101)
> ---...@memnarch:/home $ dmesg | head -10 OpenBSD 4.8 (GENERIC) #136:
Mon
> Aug 16 09:06:23 MDT 2010
>  dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: Intel(R) Xeon(R) CPU E5504 @ 2.00GHz ("GenuineIntel" 686-class)
2
> GHz
> cpu0:
>
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,
CF
> LUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,SSE3,SSSE3,SSE4.1,SSE4.2,POPCNT
> real mem  = 536375296 (511MB)
> avail mem = 517644288 (493MB)
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 09/22/09, BIOS32 rev. 0 @
0xfd780,
> SMBIOS rev. 2.4 @ 0xe0010 (98 entries)
> bios0: vendor Phoenix Technologies LTD version "6.00" date 09/22/2009
> bios0: VMware, Inc. VMware Virtual Platform



Re: ESXi client / NFS server performance

2010-11-17 Thread Emille Blanc
This may be a bit late, but for what it's worth, 4.8 -release as an ESXi 
4.1 client without any knob tweaking and pf running the default ruleset.
Haven't done anything with ESXi 3.5 though, so I'm not sure what to say 
on that front.


---...@memnarch:/home $ uname -a
OpenBSD memnarch.sarlok.com 4.8 GENERIC#136 i386
---...@memnarch:/home $ sudo dd if=/dev/zero of=/home/test.dat bs=16k 
count=32000

32000+0 records in
32000+0 records out
524288000 bytes transferred in 15.163 secs (34576797 bytes/sec)
---...@memnarch:/home $ sudo dd of=/dev/null if=/home/test.dat bs=16k 
count=32000

32000+0 records in
32000+0 records out
524288000 bytes transferred in 13.937 secs (37617959 bytes/sec)
---...@memnarch:/home $ mount | grep exports
172.16.100.250:/exports/home on /home type nfs (v3, udp, timeo=100, 
retrans=101)

---...@memnarch:/home $ dmesg | head -10
OpenBSD 4.8 (GENERIC) #136: Mon Aug 16 09:06:23 MDT 2010
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Xeon(R) CPU E5504 @ 2.00GHz ("GenuineIntel" 686-class) 2 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,SSE3,SSSE3,SSE4.1,SSE4.2,POPCNT

real mem  = 536375296 (511MB)
avail mem = 517644288 (493MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 09/22/09, BIOS32 rev. 0 @ 0xfd780, 
SMBIOS rev. 2.4 @ 0xe0010 (98 entries)

bios0: vendor Phoenix Technologies LTD version "6.00" date 09/22/2009
bios0: VMware, Inc. VMware Virtual Platform


On 10-11-17 7:16 AM, Steven Surdock wrote:

-Original Message-
From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf

Of

Stuart Henderson
Subject: Re: ESXi client / NFS server performance

On 2010-11-14, Steven Surdock  wrote:

...

where my problem lies.  Any pointers would be appreciated.


When I ran ESXi 3.5 I found i/o was painfully slow, even with local

disk

(and NFS performance with an OpenBSD server was appalling).
In general i/o performance in ESXi 4.1 seems a lot better, but I

haven't

tried it with OpenBSD as NFS server yet.


Thanks.  I've performed some other testing and found other clients work
acceptably, so I'll assume it's an ESXi issue.  Iperf tops out at 300
Mbps on my network, which sucks but it's better than the 50 Mbps NFS was
doing.  I'll try upgrading to 4.1 this weekend and see if that helps.

-Steve S.




--
http://blog.sarlok.com/
Sometimes all the left hand needs to know is where the right hand is, so 
it knows where to point the blame.




snapshot upgrade won't skip fsck

2010-11-17 Thread Peter Miller
I upgraded to a more current snapshot the other day and after fsck ran 
on the root partition, it asked if i wanted to fsck the other 
partitions. I typed "no", but it ran anyways, causing a failure and 
therefore aborting the install because some disks were missing.


I have 2 usb hard drives in my /etc/fstab. I don't have these drives 
with me all the time, and had them unplugged during my upgrade (so i 
didn't inadvertently install to one of them).


I tried to upgrade a couple times, but i have to comment out my usb 
drives before i can successfully run the upgrade. The upgrade asked me 
whether or not I wanted to fsck the other partitions, so i figure it 
should at least obey my answer.


OpenBSD 4.8-current (GENERIC.MP) #627: Fri Nov 12 23:00:53 MST 2010
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

relevant section of fstab i commented out in order to upgrade

# my drives
5dbd5372ca23d268.d /mnt/Dane ffs rw,nodev,nosuid,softdep 0 0
93b2b19e02be3f39.d /mnt/Cook ffs rw,nodev,nosuid,softdep 0 0

--
Later
Peter



OpenVPN with CARP

2010-11-17 Thread Elliott Barrere
Hi all,

I have a set of OpenBSD firewalls running CARP for failover and OpenVPN (in
UDP mode) for remote access.  The problem is that when I don't specify an
address in the OpenVPN config file, return packets from the BSD boxes to
remote clients are sent from the local interface address rather than the
shared CARP address.  It looks like packets generated from this box do the
same.

Is there a way to a) force the origination address for these packets to the
CARP address (why wouldn't they do that anyway I wonder?) or b) NAT them in
some way to make it work?

Thanks for any help!



Re: iostat and more than one core

2010-11-17 Thread Benny Löfgren

On 2010-11-17 18.23, Luis Useche wrote:

Doing a small disk benchmark in my laptop with dd, I found that dd and
iostats were reporting different numbers. To be precise, iostat was
returning half of the MB/sec than dd (24.5 vs 49 MB/sec).

Digging a bit on the iostat code, I realized that the "struct _disk" cpu
time was returning 200 timer ticks even though it was read every second. I
tested by booting my machine with bsd.sp (to use one core instead of two)
and now it was returning the right number.


I've noticed the same phenomenon with iostat but haven't had time to 
investigate. So now I did some iostat runs on a few of my servers with 
1, 2, 4 and 8 cores and can definitely verify your findings.


I also noted that the tty columns are affected by the same cpu scaling 
problem, and your patch neatly fixes that as well.



It seems like the number of ticks are incrementing by a factor proportional
to the number of CPUs (I think this makes sense). This makes iostat to
report the wrong bandwidth disk utilization.



Here is a patch I implemented to fix the problem:

diff --git a/usr.sbin/iostat/iostat.c b/usr.sbin/iostat/iostat.c
index 7da45b5..ffcd43a 100644
--- a/usr.sbin/iostat/iostat.c
+++ b/usr.sbin/iostat/iostat.c
@@ -64,6 +64,8 @@

  #include
  #include
+#include
+#include

  #include
  #include
@@ -84,7 +86,7 @@ extern intdk_ndrive;
  kvm_t *kd;
  char*nlistf, *memf;

-inthz, reps, interval;
+inthz, reps, interval, ncpu;
  static inttodo = 0;

  volatile sig_atomic_t wantheader;
@@ -112,8 +114,9 @@ int dkinit(int);
  int
  main(int argc, char *argv[])
  {
-int ch, hdrcnt;
+int ch, hdrcnt, mib[2];
  struct timevaltv;
+size_t size;

  while ((ch = getopt(argc, argv, "Cc:dDIM:N:Tw:")) != -1)
  switch(ch) {
@@ -156,6 +159,11 @@ main(int argc, char *argv[])
  if (!ISSET(todo, SHOW_CPU | SHOW_TTY | SHOW_STATS_1 | SHOW_STATS_2))
  todo |= SHOW_CPU | SHOW_TTY | SHOW_STATS_1;

+mib[0] = CTL_HW;
+mib[1] = HW_NCPU;
+size = sizeof(ncpu);
+(void) sysctl(mib, 2,&ncpu,&size, NULL, 0);


You really should check this for errors, however unlikely it is to fail.


  dkinit(0);
  dkreadstats();
  selectdrives(argv);
@@ -342,7 +350,7 @@ display(void)
  if (etime == 0.0)
  etime = 1.0;
  /* Convert to seconds. */
-etime /= (float)hz;
+etime /= (float)hz*ncpu;

  /* If we're showing totals only, then don't divide by the
   * system time.


Any thoughts?
Luis.




Regards,
/Benny

--
internetlabbet.se / work:   +46 8 551 124 80  / "Words must
Benny Lvfgren/  mobile: +46 70 718 11 90 /   be weighed,
/   fax:+46 8 551 124 89/not counted."
   /email:  benny -at- internetlabbet.se



Re: An OpenBSD smartphone

2010-11-17 Thread Marco Peereboom
It is ok if you don't mind goolge and the us gov to read your email,
credit card numbers, etc etc.

On Wed, Nov 17, 2010 at 04:43:46PM +0100, Tomas Vavrys wrote:
> The best options is Android at the moment. It's working fine and I
> have to say I like it a lot. But it is definitely not open as
> possible.
> 
> 2010/11/17 patric conant :
> > Yes, and we won't be supporting any obsolete platforms around here.
> >
> > On Nov 17, 2010 8:34 AM, "Francesco Vollero"  wrote:
> >
> > Il 17/11/10 15.17, Ted Unangst ha scritto:
> >
> >
> >>
> >> Compared to the hardware available today, the openmoko is ridiculously
> >> obsolete.
> > I Agree. It's really really obsolete.
> >
> >
> >
> >
> >> On Wed, Nov 17, 2010 at 3:49 AM, Sergey Bronnikov
> > B wrote:
> >>>
> >>> may be http:...



Re: An OpenBSD smartphone

2010-11-17 Thread Paul M

On 18/11/2010, at 10:15 AM, Martin Schrvder wrote:


2010/11/17 Ted Unangst :

Compared to the hardware available today, the openmoko is ridiculously
obsolete.


And the supplier in question is known to hate Theo and OpenBSD.

Best
Martin


 ... And is a fraudster and a criminal


paulm



Re: An OpenBSD smartphone

2010-11-17 Thread Francesco Vollero

Il 17/11/10 23.51, Marko Kraljevic ha scritto:

On Wed, Nov 17, 2010 at 2:00 AM, Jan Stary  wrote:


[snap]

The most open phone I'm aware of is Nokia N900. It runs Maemo, and can
run full blown Debian, AFAIK. Never heard of anyone running OpenBSD on
one, but perhaps it is possible? I'm assuming it would take some
hacking, though.


As far i know, there's just one phone with something like bsd, it's 
iphone. Yeah, sucks.


At the end, if someone run netbsd on a toaster with ARM9 this mean that 
openbsd can be ported too, but the main problem is:
Who give all the specifies for the components? We dont want to agree to 
some strange NDA just to have a {open|net|whatelse}bsd phone.
Another question is: The developer community it's enough big to support 
it too??




Re: Number of static IP addresses needed for CARP

2010-11-17 Thread Luca Corti
Il giorno 17/nov/2010, alle ore 23.43, Rod Whitworth ha scritto:
> I've used RFC1918 addresses for each on the WAN facing NICs and let
> carp assign the global IP to whichever one should have it.
>
> That let me access the individual hosts from the LAN.


Why not just assign LAN addresses on the LAN facing interfaces for that
purpose?

ciao

Luca



Re: An OpenBSD smartphone

2010-11-17 Thread Francesco Vollero

Il 18/11/10 00.53, m brandenberg ha scritto:

On Wed, 17 Nov 2010, Jona Joachim wrote:


The hardware is slow and buggy and the OpenBSD Moko port is dead.
Just don't buy it ;)


That said, I have a Neo 1973 available for a deal if anyone wants
to play...


Dont even try to donate to the community :)



Re: An OpenBSD smartphone

2010-11-17 Thread m brandenberg

On Wed, 17 Nov 2010, Jona Joachim wrote:


The hardware is slow and buggy and the OpenBSD Moko port is dead.
Just don't buy it ;)


That said, I have a Neo 1973 available for a deal if anyone wants
to play...

--
Monty Brandenberg



Criações de sites personalizados

2010-11-17 Thread AC6 Web
Agora ficou facil ter website.

AC6 - preparou a solugco perfeita para vocj!
veja nossa apresentagco abaixo.



Re: An OpenBSD smartphone

2010-11-17 Thread roberth
On Wed, 17 Nov 2010 16:51:00 -0600
Marko Kraljevic  wrote:

> On Wed, Nov 17, 2010 at 2:00 AM, Jan Stary  wrote:
> > My twelve years old cell phone needs to get replaced,
> > most probably with one of these newer smartphones.
> >
> > Beside other things, I want it to be as "open" as possible:
> > a freely-available OS, a class-compliant USB storage, a documented
> > wifi hardware, etc. So, in this regard: has someone managed
> > to install obsd on some of these newer phones?
> >
> > I understand that most of these have an OS that is basically
> > a modified linux; does anyone know about a varinat that would
> > have an OS based on BSD?
> >
> >Thanks
> >
> >Jan
> >
> >
> 
> 
> The most open phone I'm aware of is Nokia N900. It runs Maemo, and can
> run full blown Debian, AFAIK. Never heard of anyone running OpenBSD on
> one, but perhaps it is possible? I'm assuming it would take some
> hacking, though.
> 
> http://en.wikipedia.org/wiki/Nokia_N900
> 
> I'd like to play with one at some point, but I'm a little too broke
> for that at the moment.
> 

So offtopic, but i'll bite.
Yes, N900 is the only phone i'd consider atm.
If i'd have to buy a linux phone (no alternative) it'd be a N900 and put
Meego on it.
Android is just too restrictive.
The HTC 7 Pro hw looks nice, but without any docu or source ...
Me personally will stick with my 6820 until i can test the first real
Meego querty slider.
(Now if there were 15k+ ppl preordering a phone with openbsd+pf there
might be a chance to get something "good".)



Re: An OpenBSD smartphone

2010-11-17 Thread Martin Schröder
2010/11/17 Jona Joachim :
> On 2010-11-17, Martin Schr?der  wrote:
>> And the supplier in question is known to hate Theo and OpenBSD.
>
> Obvious troll is obvious.

Ask Theo about Mr. Vandeputte. :-)

Oh, and if you believe http://accounting.kd85.com/ , read the list
archives.

Best
   Martin



Re: An OpenBSD smartphone

2010-11-17 Thread Marko Kraljevic
On Wed, Nov 17, 2010 at 2:00 AM, Jan Stary  wrote:
> My twelve years old cell phone needs to get replaced,
> most probably with one of these newer smartphones.
>
> Beside other things, I want it to be as "open" as possible:
> a freely-available OS, a class-compliant USB storage, a documented
> wifi hardware, etc. So, in this regard: has someone managed
> to install obsd on some of these newer phones?
>
> I understand that most of these have an OS that is basically
> a modified linux; does anyone know about a varinat that would
> have an OS based on BSD?
>
>Thanks
>
>Jan
>
>


The most open phone I'm aware of is Nokia N900. It runs Maemo, and can
run full blown Debian, AFAIK. Never heard of anyone running OpenBSD on
one, but perhaps it is possible? I'm assuming it would take some
hacking, though.

http://en.wikipedia.org/wiki/Nokia_N900

I'd like to play with one at some point, but I'm a little too broke
for that at the moment.



Re: Number of static IP addresses needed for CARP

2010-11-17 Thread Rod Whitworth
On Wed, 17 Nov 2010 23:23:16 +0100, Luca Corti wrote:

>Il giorno 17/nov/2010, alle ore 22.49, Jeff Ross ha scritto:
>> I don't think Bresnan is going to take kindly to me just grabbing a couple
>of IPs next to my static IP.
>>
>> If it really doesn't matter then *that's* the source of my confusion.
>
>You don't need to assign an IP address to each physical interface. You can
>assign one just to the carp interface.
>
>carp will take care of activating that IP address on the master node only. It
>is that simple.
>
>If you don't have three different IP addresses, just don't assign addresses to
>physical interfaces.

I've used RFC1918 addresses for each on the WAN facing NICs and let
carp assign the global IP to whichever one should have it.

That let me access the individual hosts from the LAN.

You may want that some times

*** NOTE *** Please DO NOT CC me. I  subscribed to the list.
Mail to the sender address that does not originate at the list server is 
tarpitted. The reply-to: address is provided for those who feel compelled to 
reply off list. Thankyou.

Rod/
---
This life is not the real thing.
It is not even in Beta.
If it was, then OpenBSD would already have a man page for it.



Re: Number of static IP addresses needed for CARP

2010-11-17 Thread Jeff Ross

On 11/17/10 15:22, Luca Corti wrote:

Il giorno 17/nov/2010, alle ore 22.49, Jeff Ross ha scritto:

I don't think Bresnan is going to take kindly to me just grabbing a couple

of IPs next to my static IP.


If it really doesn't matter then *that's* the source of my confusion.


You don't need to assign an IP address to each physical interface. You can
assign one just to the carp interface.

carp will take care of activating that IP address on the master node only. It
is that simple.

If you don't have three different IP addresses, just don't assign addresses to
physical interfaces.

ciao

Luca


!DSPAM:4ce456ce90699444911980!



Okay--that's what I needed to hear.

Thanks!

Jeff



Re: An OpenBSD smartphone

2010-11-17 Thread Jona Joachim
On 2010-11-17, Martin Schr?der  wrote:
> 2010/11/17 Ted Unangst :
>> Compared to the hardware available today, the openmoko is ridiculously
>> obsolete.
>
> And the supplier in question is known to hate Theo and OpenBSD.

Obvious troll is obvious.


-- 
Worse is better
Richard P. Gabriel



Re: An OpenBSD smartphone

2010-11-17 Thread Jona Joachim
On 2010-11-17, Ted Unangst  wrote:
> Compared to the hardware available today, the openmoko is ridiculously
> obsolete.

On top of that graphics and wifi documentation is only available under
NDA and the reverse engineered Linux drivers are broken.
The hardware is slow and buggy and the OpenBSD Moko port is dead.
Just don't buy it ;)

Best regards,
Jona

-- 
Worse is better
Richard P. Gabriel



Re: Number of static IP addresses needed for CARP

2010-11-17 Thread Luca Corti
Il giorno 17/nov/2010, alle ore 22.49, Jeff Ross ha scritto:
> I don't think Bresnan is going to take kindly to me just grabbing a couple
of IPs next to my static IP.
>
> If it really doesn't matter then *that's* the source of my confusion.

You don't need to assign an IP address to each physical interface. You can
assign one just to the carp interface.

carp will take care of activating that IP address on the master node only. It
is that simple.

If you don't have three different IP addresses, just don't assign addresses to
physical interfaces.

ciao

Luca



Re: The choice was: Sun V20z. And Now?

2010-11-17 Thread Paolo Aglialoro
Good luck Felipe,

a friend of mine had a V40z... when he switched it on it seemed to me like a
plane taking off :D
btw, he has sold it for 300b, to guys who deployed it in a rack, he
couldn't stand it anymore :
For the rest, well, that was a *machine* 2 dual core opterons 8GB ram...
lotsa power indeed!
Have phun with ur new little monster :)))
Ciao


On Wed, Nov 17, 2010 at 5:43 PM, Felipe Mesquita de Oliveira <
fem...@gmail.com> wrote:

> Hi all,
>
> I've asked sometime ago about an "Architeture Choose" Ok, I've choose
> the Sun Fire V20z (2xAMD Opteron).
>
> As someone said, the fans are really loud... I've seen some articles about
> upgrading the BIOS can reduce the fans...
> BUT, when trying to download the latest firmware upgrade from Sun's
> website,
> no success.
>
> Anyone have this files?
>
> Thanks!
>
> Felipe
> Sco Paulo-BR



Re: 1gbit LAN/NIC performance, queue speed bug?

2010-11-17 Thread RLW

W dniu 2010-11-17 22:11, Kenneth Gober pisze:

this is very illuminating.  it says that initially, tcp send/receive
window is your bottleneck.  when you increase them to 131072, the cpu
becomes your bottleneck and remains that way no matter what else you
tweak (idle drops to 0.0% and stays there).

the next question is, of course, why is your cpu spending all its time
in "system" and "interrupt"?  is it doing unnecessary work, or is the
work necessary and your cpu just isn't fast enough?  I don't have ready
answers to these questions.

-ken



Hello,

I see, that while I am testing network speed by iperf, 100% CPU is being 
used, but is that normal for default install of OpenBSD 4.8 with default 
pf.conf??


I have second computer exactly like that one (IBM ThinkCentre A51P), on 
which i am running this tests but with P4 3Ghz CPU 2mb cache (not 
celeron 2.8) and the same is happening (100% CPU).


LAN interface is Intel PRO/1000 PT Desktop Adapter (PCIe, model: 
EXPI9300PTBLK) and this is the only pcie adapter in computer (maybe 
broadcom integrated nic is also pcie but is not used)


So the conclusion might be:
- there is problem with my Intel NIC model/cheapset
- there is problem with em driver
- there is problem with my hardware (I need serwer motherboard with pcie 
and pci 64bit 66mhz)

- I need faster CPU than P4 3GHz ??



best regards,
RLW



Re: Number of static IP addresses needed for CARP

2010-11-17 Thread Jeff Ross

On 11/17/10 13:15, Steven Surdock wrote:

-Original Message-
From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of
Jeff Ross
Subject: Number of static IP addresses needed for CARP


...

I understand that I'll need to drop a small switch between the cable modem
and the redundant firewalls but what I don't understand clearly is how
many real, external static IPs I'm going to need.  Page 120 of the Book of
PF 2 has a diagram that makes me think I'll need 3--carp0 on each firewall
gets the IP I have now, and the $ext_if on each firewall gets another
static IP each.


Three is nice, but only one on the CARP interface is necessary.

-Steve S.

!DSPAM:4ce441c269661107318431!



Thanks, Steve.

What can one then use for the IP addresses for the $ext_if of the 
firewalls?  In the example in the Book of PF2 I referenced before, the 
carp0 address is 192.0.2.19, with 192.0.2.17  and 192.0.2.18 assigned to 
the external interfaces of the firewalls.  Ryan McBrides  "Firewall 
Failover with pfsync and CARP" linked to in the FAQ entry on CARP also 
doesn't use routable IPs.


I don't think Bresnan is going to take kindly to me just grabbing a 
couple of IPs next to my static IP.


If it really doesn't matter then *that's* the source of my confusion.


Jeff



Mañana inciamos - Plática Gratuita Facturación Electrónica

2010-11-17 Thread Priscila B. Galaviz (Microsip México)
?Es tu obligacisn expedir factura electrsnica? !Entirate!

Maqana Jueves 18 de Noviembre, 12hrs.:

Platica Gratuita de Facturacisn Electrsnica

!Azn tenemos lugares disponibles!

?Dsnde? Xola 1254, Col. Narvarte (Frente Metro y Metrobus Etiopma)

Asiste y conoceras:

Qui es la facturacisn electrsnica.

Requisitos para utilizarla.

Pasos para implementarla.

Beneficios.

...y mas.

- Sin costo - - Mas fechas disponibles -

?Quieres asistir? - Registrate haciendo click aqum

?Mas informacisn? - Haz click aqum

Saludos cordiales,

Priscila B. Galaviz | Marketing | Microsip Mixico
Tel. (55)5530 0042 | prisc...@microsipmx.mx | www.microsipmx.mx

Si no desea recibir mas informacisn responda a este correo con la palabra
"BAJAMSP" en el asunto.



Re: An OpenBSD smartphone

2010-11-17 Thread Martin Schröder
2010/11/17 Ted Unangst :
> Compared to the hardware available today, the openmoko is ridiculously
> obsolete.

And the supplier in question is known to hate Theo and OpenBSD.

Best
Martin



Re: 1gbit LAN/NIC performance, queue speed bug?

2010-11-17 Thread RLW

Thanks for all the answers, but the problem still exists.

To sum up:

OpenBSD 4.8 default install

cpu0: Intel(R) Celeron(R) CPU 2.80GHz ("GenuineIntel" 686-class) 2.80 GHz
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
em0 at pci1 dev 0 function 0 "Intel PRO/1000 PT (82572EI)" rev 0x06: 
apic 1 int 16 (irq 5), address XX:XX:XX:XX:XX:XX


1.
- tcp send and receive window @ default
- pf disabled
- transfer speed on em0 tested by iperf: 458 Mbits/sec
- top shows:

load averages:  0.90,  0.42,  0.18
25 processes:  1 running, 23 idle, 1 on processor
CPU states:  0.6% user,  0.0% nice, 51.5% system, 33.5% interrupt, 14.4% 
idle

Memory: Real: 9164K/43M act/tot  Free: 442M  Swap: 0K/759M used/tot


2.
- tcp send and receive window: 131072
- pf disabled
- transfer speed on em0 tested by iperf: 767 Mbits/sec
- top shows:

load averages:  0.85,  0.56,  0.29
25 processes:  1 running, 23 idle, 1 on processor
CPU states:  1.6% user,  0.0% nice, 71.5% system, 26.9% interrupt,  0.0% 
idle

Memory: Real: 9172K/43M act/tot  Free: 442M  Swap: 0K/759M used/tot


3.
- tcp send and receive window: 131072
- pf enabled, no queue
- transfer speed on em0 tested by iperf: 677 Mbits/sec
- top shows:

load averages:  0.84,  0.58,  0.38
25 processes:  1 running, 23 idle, 1 on processor
CPU states:  1.4% user,  0.0% nice, 70.1% system, 28.5% interrupt,  0.0% 
idle

Memory: Real: 9184K/44M act/tot  Free: 441M  Swap: 0K/759M used/tot


4.
- tcp send and receive window: 131072
- pf enabled
- to default pf.conf added (as Joel Sing suggested qlimit changed from 
50 to 500):

altq on em0 cbq bandwidth 1Gb qlimit 500 queue { q_lan }
queue q_lan bandwidth 950Mb qlimit 500 cbq (default)
- transfer speed on em0 tested by iperf: 337 Mbits/sec
- top shows:

load averages:  0.94,  0.68,  0.45
25 processes:  1 running, 23 idle, 1 on processor
CPU states:  0.6% user,  0.0% nice, 79.4% system, 20.0% interrupt,  0.0% 
idle

Memory: Real: 9184K/44M act/tot  Free: 441M  Swap: 0K/759M used/tot


r...@router-test (/root)# systat queue
2 usersLoad 0.69 0.58 0.48  Wed Nov 17 21:34:38 2010

QUEUE   BW SCH  PR  PKTS BYTES DROP_P DROP_B QLEN BORR SUSP 
P/S  B/S
root_em0 1000M cbq   0 1803K 2666M  0  0000 
293  44M
 q_lan950M cbq 1803K 2666M  0  0000 
293  44M



r...@router-test (/root)# pfctl -vvs queue (transfer starts slowly, then 
at best time transfer is 322.11Mb/s than drops - i dont know is it a 
proper behaviour)


queue root_em0 on em0 bandwidth 1Gb priority 0 qlimit 500 cbq( wrr root 
) {q_lan}
  [ pkts:4372637  bytes: 6619141152  dropped pkts:  0 bytes: 
   0 ]

  [ qlength:   0/500  borrows:  0  suspends:  0 ]
  [ measured: 26598.4 packets/s, 322.11Mb/s ]
queue  q_lan on em0 bandwidth 950Mb qlimit 500 cbq( default )
  [ pkts:4372637  bytes: 6619141152  dropped pkts:  0 bytes: 
   0 ]

  [ qlength:   0/500  borrows:  0  suspends:  0 ]
  [ measured: 26598.4 packets/s, 322.11Mb/s ]



best regards,
RLW



Re: em(4) is just 10baseT

2010-11-17 Thread Jochen Fabricius
> In gmane.os.openbsd.misc, you wrote:
> > The PHY is a 82578, and as I understand the commit messages the support is 
> > still "basic", but shouldn't at least 100baseTX work? That's what all my 
> > switches support. I have to check with a 1 GbE switch, but I don't know if 
> > I can get one in the next time. Has anyone higher speeds working with this 
> > PHY? 
> 
> if you have another machine with a gigabit port, just plug it straight in
> and see what happens: use a regular (not crossover) cable and make sure
> both machines are set to autoselect.
> 

I found a laptop with GbE, Windows Vista, but was configured to autoselect. 
Still the same. 

Jochen Fabricius 



Re: em(4) is just 10baseT

2010-11-17 Thread Jochen Fabricius
> On Tue, Nov 16, 2010 at 11:24:37PM +0100, Jochen Fabricius wrote:
> > Hi all, 
> > 
> > today I discovered that my network connection on an Acer Aspire X3900 is 
> > only 10baseT. Never realized it before because the speed is enough (mostly 
> > relatively slow internet connection, no large files to/from other 
> > machines). System is 4.8-release. 
> > 
> > I checked: 
> > - wiring: even at shortest connection to the switch only 10baseT was 
> > available
> > - other switches
> > - other machines with the same cables, same port on switch
> > 
> > The PHY is a 82578, and as I understand the commit messages the support is 
> > still "basic", but shouldn't at least 100baseTX work? That's what all my 
> > switches support. I have to check with a 1 GbE switch, but I don't know if 
> > I can get one in the next time. Has anyone higher speeds working with this 
> > PHY? 
> 
> This is a known issue with the 82578DC (82578DM doesn't show it).
> It is likely something along the lines of missing workarounds
> for particular revisions of the phy.
> 

I was afraid of that. Is there anything I could do, maybe send some more 
information (which?) for solving these issues? 

Jochen Fabricius 



Toshiba Satellite M30X and Realtek PCMCIA Based Card Issue.

2010-11-17 Thread Andres Chavez
Hello guys, im writing this to let you know about the problems that im
facing with my toshiba satellite lapto and a pcmcia ethernet card based on
the realtek chip 8139. Well i just want to build a new router box based on
4.8 (tried 4.7 too) so i just bought this card to use as the wan interface
of the config. The problems came when i plug the card and this message
appear:

pcic_chip_socket_enable: status c
pcic_wait_ready: ready never happened, status = 0c
com3 at pcmcia0 funtion 0: can't allocate i/o space

So when doing ifconfig i can't see the other if, i tried on freebsd and the
nic appears as rl1 since the onboard nic its also a realtek  8139 based
(rl0)

what can be causing this?

Thanks in advance.



Re: Number of static IP addresses needed for CARP

2010-11-17 Thread Steven Surdock
> -Original Message-

> From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of

> Jeff Ross

> Subject: Number of static IP addresses needed for CARP

> 

... 

> I understand that I'll need to drop a small switch between the cable modem

> and the redundant firewalls but what I don't understand clearly is how

> many real, external static IPs I'm going to need.  Page 120 of the Book of

> PF 2 has a diagram that makes me think I'll need 3--carp0 on each firewall

> gets the IP I have now, and the $ext_if on each firewall gets another

> static IP each.



Three is nice, but only one on the CARP interface is necessary.



-Steve S.




Re: The choice was: Sun V20z. And Now?

2010-11-17 Thread Eric S Pulley
On Wed, November 17, 2010 9:43 am, Felipe Mesquita de Oliveira wrote:
> Hi all,
>
> I've asked sometime ago about an "Architeture Choose" Ok, I've choose
> the Sun Fire V20z (2xAMD Opteron).
>
> As someone said, the fans are really loud... I've seen some articles about
> upgrading the BIOS can reduce the fans...
> BUT, when trying to download the latest firmware upgrade from Sun's
> website,
> no success.
>
> Anyone have this files?
>
> Thanks!

Even if you get the file it wont "fix" what your hoping for. If anything I
think the newer firmwares have higher fan rpm settings... Basically you
looking at 2 realistic settings with this system. Really loud while the OS
is running and insanely loud when its powering up/down under only the
SP/BIOS control. That's just the way they are.



Number of static IP addresses needed for CARP

2010-11-17 Thread Jeff Ross

Hi all,

I know this is a dumb-ass question but I've read the FM (including the 
new Book of PF 2) and there is a basic something I still don't 
understand about CARP.


Right now I have a small network with 1 static IP and 1 firewall.  I 
have a cat5 cable running directly from the cable modem to the $ext_if 
of the firewall.  I want to replace my 1 firewall with a pair of 
new-to-me identical 1U servers with 4 em interfaces


I understand that I'll need to drop a small switch between the cable 
modem and the redundant firewalls but what I don't understand clearly is 
how many real, external static IPs I'm going to need.  Page 120 of the 
Book of PF 2 has a diagram that makes me think I'll need 3--carp0 on 
each firewall gets the IP I have now, and the $ext_if on each firewall 
gets another static IP each.


Is that correct?  Obviously I don't want to buy a couple more static IPs 
if I don't need them.


Thanks in advance!

Jeff Ross



Re: The choice was: Sun V20z. And Now?

2010-11-17 Thread Sebastian Reitenbach
Felipe Mesquita de Oliveira wrote:
> :)
>
> Actually the air isn't hot... Even in the front dysplay, navigating it, the
> temps are really low... around 28c...
>
> I'll check the BIOS version tonight...  Of course I don't wanna burn the
> CPU's, but the more fan works (maybe, un-necessarily), the more energy is
> being spend... If it could be optimized, Why NOT?
>   
Mike Belopuhov posted this some days ago on the sparc@ m/l on a similar
question:

i used sunsolve to find an appropriate update and then googled the
archive.  turned out that this mirror has all(?) of them:
http://www.mirrorservice.org/sites/ftp.sun.co.uk/patchroot/


maybe you find what you need there...

cheers,
Sebastian



Re: 1gbit LAN/NIC performance, queue speed bug?

2010-11-17 Thread James Records
What does CPU usage look like when this is happening?  is there any other
resources that appear to be constrained?

J

On Wed, Nov 17, 2010 at 3:21 AM, RLW  wrote:

> W dniu 2010-11-16 16:14, Joel Sing pisze:
>
>> On Tuesday 16 November 2010, Robert Lewandowski wrote:
>>
>>  Hello,
>>>
>>> PROBLEM: transfer speed is ONLY HALF if queue is defined in pf.conf
>>> although queue is 950Mbit (1000Mbit-5%)
>>> pf disabled: 768 Mbits/sec
>>> pf enabled, queue 950Mbit: 337 Mbits/sec
>>>
>>> ANALYSIS:
>>>
>>> - OpenBSD 4.8 default intallation.
>>> - Test made between OpenBSD 4.8 and Debian Linux.
>>> (between two Debian systems speed is more than 900Mbit/s)
>>>
>>> *
>>> LAN interface: Intel PRO/1000 PT Desktop Adapter (PCIe, model:
>>> EXPI9300PTBLK)
>>> DMESG: em0 at pci1 dev 0 function 0 "Intel PRO/1000 PT (82572EI)" rev
>>> 0x06: apic 1 int 16 (irq 5), address 00:1b:21:05:1f:39
>>> *
>>> Default settings of TCP window size:
>>> net.inet.tcp.recvspace=16384
>>> net.inet.tcp.sendspace=16384
>>> *
>>>
>>> 1a) pf disabled
>>>
>>> r...@router-test (/root)# iperf -i 1 -t 3 -c 10.0.0.6
>>> 
>>> Client connecting to 10.0.0.6, TCP port 5001
>>> TCP window size: 16.0 KByte (default)
>>> 
>>> [  3] local 10.0.0.8 port 27600 connected with 10.0.0.6 port 5001
>>> [ ID] Interval   Transfer Bandwidth
>>> [  3]  0.0- 1.0 sec  54.7 MBytes459 Mbits/sec
>>> [ ID] Interval   Transfer Bandwidth
>>> [  3]  1.0- 2.0 sec  54.7 MBytes458 Mbits/sec
>>> [ ID] Interval   Transfer Bandwidth
>>> [  3]  2.0- 3.0 sec  54.7 MBytes459 Mbits/sec
>>>
>>> 1b) pf enabled, no queue
>>>
>>> r...@router-test (/root)# iperf -i 1 -t 3 -c 10.0.0.6
>>> 
>>> Client connecting to 10.0.0.6, TCP port 5001
>>> TCP window size: 16.0 KByte (default)
>>> 
>>> [  3] local 10.0.0.8 port 46912 connected with 10.0.0.6 port 5001
>>> [ ID] Interval   Transfer Bandwidth
>>> [  3]  0.0- 1.0 sec  53.9 MBytes452 Mbits/sec
>>> [ ID] Interval   Transfer Bandwidth
>>> [  3]  1.0- 2.0 sec  52.6 MBytes441 Mbits/sec
>>> [ ID] Interval   Transfer Bandwidth
>>> [  3]  2.0- 3.0 sec  54.1 MBytes454 Mbits/sec
>>>
>>> 1c) pf enabled, added queue to default pf.conf:
>>>
>>> altq on em0 cbq bandwidth 1Gb queue { q_lan }
>>> queue q_lan bandwidth 950Mb cbq (default)
>>>
>>> r...@router-test (/root)# iperf -i 1 -t 3 -c 10.0.0.6
>>> 
>>> Client connecting to 10.0.0.6, TCP port 5001
>>> TCP window size: 16.0 KByte (default)
>>> 
>>> [  3] local 10.0.0.8 port 38266 connected with 10.0.0.6 port 5001
>>> [ ID] Interval   Transfer Bandwidth
>>> [  3]  0.0- 1.0 sec  33.9 MBytes284 Mbits/sec
>>> [ ID] Interval   Transfer Bandwidth
>>> [  3]  1.0- 2.0 sec  35.0 MBytes294 Mbits/sec
>>> [ ID] Interval   Transfer Bandwidth
>>> [  3]  2.0- 3.0 sec  35.8 MBytes300 Mbits/sec
>>>
>>>
>>> *
>>> TCP window size changed to 131072.
>>> net.inet.tcp.recvspace: 16384 ->  131072
>>> net.inet.tcp.sendspace: 16384 ->  131072
>>> *
>>>
>>> 1a) pf disabled
>>>
>>> r...@router-test (/root)# iperf -i 1 -t 3 -c 10.0.0.6
>>> 
>>> Client connecting to 10.0.0.6, TCP port 5001
>>> TCP window size:   128 KByte (default)
>>> 
>>> [  3] local 10.0.0.8 port 32680 connected with 10.0.0.6 port 5001
>>> [ ID] Interval   Transfer Bandwidth
>>> [  3]  0.0- 1.0 sec  91.5 MBytes768 Mbits/sec
>>> [ ID] Interval   Transfer Bandwidth
>>> [  3]  1.0- 2.0 sec  92.1 MBytes773 Mbits/sec
>>> [ ID] Interval   Transfer Bandwidth
>>> [  3]  2.0- 3.0 sec  91.2 MBytes765 Mbits/sec
>>>
>>> 1b) pf enabled, no queue
>>>
>>> r...@router-test (/root)# iperf -i 1 -t 3 -c 10.0.0.6
>>> 
>>> Client connecting to 10.0.0.6, TCP port 5001
>>> TCP window size:   128 KByte (default)
>>> 
>>> [  3] local 10.0.0.8 port 41092 connected with 10.0.0.6 port 5001
>>> [ ID] Interval   Transfer Bandwidth
>>> [  3]  0.0- 1.0 sec  80.5 MBytes675 Mbits/sec
>>> [ ID] Interval   Transfer Bandwidth
>>> [  3]  1.0- 2.0 sec  80.1 MBytes672 Mbits/sec
>>> [ ID] Interval   Transfer Bandwidth
>>> [  3]  2.0- 3.0 sec  80.2 MBytes673 Mbits/sec

Re: The choice was: Sun V20z. And Now?

2010-11-17 Thread Felipe Mesquita de Oliveira
:)

Actually the air isn't hot... Even in the front dysplay, navigating it, the
temps are really low... around 28c...

I'll check the BIOS version tonight...  Of course I don't wanna burn the
CPU's, but the more fan works (maybe, un-necessarily), the more energy is
being spend... If it could be optimized, Why NOT?


[]'s,
Felipe



On Wed, Nov 17, 2010 at 2:29 PM, Timo Schoeler
wrote:

> On 11/17/2010 06:23 PM, Amit Kulkarni wrote:
>
>> You have no support contract. You are out of luck. Unless you pay and
>> get it somewhere else.
>>
>
> It's a server. If its fans don't scream the hell out of you, it's dead.
>
> Furthermore, especially the V20z is a really hot machine. Just feel the
> temperature of the air exiting it. You don't want to slow the fans down
> unless you like to create a melting Opteron. :)
>
>
>  On Wed, Nov 17, 2010 at 10:43 AM, Felipe Mesquita de Oliveira
>>   wrote:
>>
>>> Hi all,
>>>
>>> I've asked sometime ago about an "Architeture Choose" Ok, I've choose
>>> the Sun Fire V20z (2xAMD Opteron).
>>>
>>> As someone said, the fans are really loud... I've seen some articles
>>> about
>>> upgrading the BIOS can reduce the fans...
>>> BUT, when trying to download the latest firmware upgrade from Sun's
>>> website,
>>> no success.
>>>
>>> Anyone have this files?
>>>
>>> Thanks!
>>>
>>> Felipe
>>> Sco Paulo-BR



Re: The choice was: Sun V20z. And Now?

2010-11-17 Thread Felipe Mesquita de Oliveira
Maybe someone, that has it under Sun's free license can have it?? :-P

[]'s


On Wed, Nov 17, 2010 at 2:22 PM,  wrote:

> In theory yes - I am just suggesting that its possibly not best to be
> asking for 'copies' of commercial paid-for software on an open maillist.
>
> Sun used to give free access. Oracle now charge.
>
>
>
> > -Original Message-
> > From: Felipe Mesquita de Oliveira [mailto:fem...@gmail.com]
> > Sent: 17 November 2010 17:20
> > To: Alastair Johnson
> > Subject: Re: The choice was: Sun V20z. And Now?
> >
> > Hmm...
> >
> > Got it...
> >
> > I've just bought the server (used) and without any support. So I
> should buy an support contract from Oracle? Even for EOL product?
> >
> > Thanks for any tip... I din't mean to be an outlaw... ;-)
> >
> >
> >
> >
> > On Wed, Nov 17, 2010 at 2:14 PM, 
> wrote:
> >
> >
> >   You need an oracle support contract.
> >
> >   Distribution outside such a contract would be a crime.
> >
> >
> >
> >
> >   > -Original Message-
> >   > From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org]
> On Behalf
> >   Of Felipe Mesquita de Oliveira
> >   > Sent: 17 November 2010 16:44
> >   > To: misc@openbsd.org
> >   > Subject: The choice was: Sun V20z. And Now?
> >   >
> >   > Hi all,
> >   >
> >   > I've asked sometime ago about an "Architeture Choose" Ok,
> I've
> >   choose the Sun Fire V20z (2xAMD Opteron).
> >   >
> >   > As someone said, the fans are really loud... I've seen some
> articles
> >   about upgrading the BIOS can reduce the fans...
> >   > BUT, when trying to download the latest firmware upgrade from
> Sun's
> >   website, no success.
> >   >
> >   > Anyone have this files?
> >   >
> >   > Thanks!
> >   >
> >   > Felipe
> >
> >   > Sco Paulo-BR



iostat and more than one core

2010-11-17 Thread Luis Useche
Hi Guys,

Doing a small disk benchmark in my laptop with dd, I found that dd and
iostats were reporting different numbers. To be precise, iostat was
returning half of the MB/sec than dd (24.5 vs 49 MB/sec).

Digging a bit on the iostat code, I realized that the "struct _disk" cpu
time was returning 200 timer ticks even though it was read every second. I
tested by booting my machine with bsd.sp (to use one core instead of two)
and now it was returning the right number.

It seems like the number of ticks are incrementing by a factor proportional
to the number of CPUs (I think this makes sense). This makes iostat to
report the wrong bandwidth disk utilization.

Here is a patch I implemented to fix the problem:

diff --git a/usr.sbin/iostat/iostat.c b/usr.sbin/iostat/iostat.c
index 7da45b5..ffcd43a 100644
--- a/usr.sbin/iostat/iostat.c
+++ b/usr.sbin/iostat/iostat.c
@@ -64,6 +64,8 @@

 #include 
 #include 
+#include 
+#include 

 #include 
 #include 
@@ -84,7 +86,7 @@ extern intdk_ndrive;
 kvm_t *kd;
 char*nlistf, *memf;

-inthz, reps, interval;
+inthz, reps, interval, ncpu;
 static inttodo = 0;

 volatile sig_atomic_t wantheader;
@@ -112,8 +114,9 @@ int dkinit(int);
 int
 main(int argc, char *argv[])
 {
-int ch, hdrcnt;
+int ch, hdrcnt, mib[2];
 struct timevaltv;
+size_t size;

 while ((ch = getopt(argc, argv, "Cc:dDIM:N:Tw:")) != -1)
 switch(ch) {
@@ -156,6 +159,11 @@ main(int argc, char *argv[])
 if (!ISSET(todo, SHOW_CPU | SHOW_TTY | SHOW_STATS_1 | SHOW_STATS_2))
 todo |= SHOW_CPU | SHOW_TTY | SHOW_STATS_1;

+mib[0] = CTL_HW;
+mib[1] = HW_NCPU;
+size = sizeof(ncpu);
+(void) sysctl(mib, 2, &ncpu, &size, NULL, 0);
+
 dkinit(0);
 dkreadstats();
 selectdrives(argv);
@@ -342,7 +350,7 @@ display(void)
 if (etime == 0.0)
 etime = 1.0;
 /* Convert to seconds. */
-etime /= (float)hz;
+etime /= (float)hz*ncpu;

 /* If we're showing totals only, then don't divide by the
  * system time.


Any thoughts?
Luis.



Re: The choice was: Sun V20z. And Now?

2010-11-17 Thread Amit Kulkarni
You have no support contract. You are out of luck. Unless you pay and
get it somewhere else.

On Wed, Nov 17, 2010 at 10:43 AM, Felipe Mesquita de Oliveira
 wrote:
> Hi all,
>
> I've asked sometime ago about an "Architeture Choose" Ok, I've choose
> the Sun Fire V20z (2xAMD Opteron).
>
> As someone said, the fans are really loud... I've seen some articles about
> upgrading the BIOS can reduce the fans...
> BUT, when trying to download the latest firmware upgrade from Sun's website,
> no success.
>
> Anyone have this files?
>
> Thanks!
>
> Felipe
> Sco Paulo-BR



The choice was: Sun V20z. And Now?

2010-11-17 Thread Felipe Mesquita de Oliveira
Hi all,

I've asked sometime ago about an "Architeture Choose" Ok, I've choose
the Sun Fire V20z (2xAMD Opteron).

As someone said, the fans are really loud... I've seen some articles about
upgrading the BIOS can reduce the fans...
BUT, when trying to download the latest firmware upgrade from Sun's website,
no success.

Anyone have this files?

Thanks!

Felipe
Sco Paulo-BR



Re: An OpenBSD smartphone

2010-11-17 Thread Christian Weisgerber
Jan Stary  wrote:

> My twelve years old cell phone needs to get replaced,
> most probably with one of these newer smartphones.
> 
> Beside other things, I want it to be as "open" as possible:
> a freely-available OS, a class-compliant USB storage, a documented

The most open smartphone I'm aware of is the Nokia N900.

> wifi hardware, etc. So, in this regard: has someone managed
> to install obsd on some of these newer phones?

No.  Also, compare the user interface and applications useful on a
phone with what's available for OpenBSD.

> I understand that most of these have an OS that is basically
> a modified linux;

Android and Maemo are Linux-based.  Symbian, iOS, Bada, Blackberry
and Windows Mobile are not.

> does anyone know about a varinat that would have an OS based on BSD?

Apple's iOS is the most BSD-ish.  But that is utterly closed, and
the iPhone is dongled to the proprietary iTunes program (Mac OS,
MS Windows).

-- 
Christian "naddy" Weisgerber  na...@mips.inka.de



que dejes de ~ g  a n  a r d i n e r o  ~ por no tener tu página de Internet.

2010-11-17 Thread Es una lástima
  Si tus ventas estan bien no aminores el paso, reivintate y
  acelera para estar azn mejor.

  !Reinventarse es una cuestisn de supervivencia ya que las
  buenas rachas pueden cambiar en cualquier momento!.

  POR ESO TOMA EN CUENTA LOS SIGUIENTES

  BENEFICIOS DE APROVECHAR ESTA PROMOCION DE
  PAGINA DE INTERNET:

1. Con una inversisn de  solo $3990.00 pesos ahora en promocisn
de $ 2990 pesos en un znico pago ($238 dslares USD),  hacemos que
a travis de tu pagina de Internet   tu empresa luzca: Elegante,
profesional, competitiva, dinamica, fresca y actual a los cambios
que las empresas enfrentan hoy.

  !!! Clic aqum para ver un ejemplo en accisn con las
  caractermsticas de tu nueva pagina de Internet. !!!

  !PROMOCION POR TIEMPO LIMITADO!

  2. Te atendemos con amabilidad y te explicamos  de manera
  sencilla y sin tecnicismos para resolver todas tus dudas e
  inquietudes permitiendo que  haya una adecuada comunicacisn.

  3. Te ayudamos a  reconocer las fortalezas y diferenciadores
   que tienes como empresa, gracias a una guma que te
  proporcionamos y  que tiene la finalidad de  ayudarte para
  que a travis de tu pagina de internet, comuniques en forma
  clara y precisa, los beneficios por los cuales deben
  contratarte.! Acircale a tus prospectos de clientes lo que tz
  ofreces y no lo tengas tan escondido! Expresa los beneficios
  de tu servicio o producto y deja que lo vean cada vez mas
  prospectos las 24hrs con tu pagina de Internet.  

  4.Abrimos caminos de comunicacisn al recibir tu
  retroalimentacisn en el desarrollo de tu pagina de Internet.

  5.Te ofrecemos nuestra experiencia de  mas de 700 paginas
  desarrolladas dentro y fuera de nuestras fronteras.

  6.Nos esforzamos en hacer ver bien a tu empresa ya que asm
  nosotros nos vemos mejor.

Presiona aqum para hacer contacto contigo.

Varias formas de pago.
[IMAGE] Con Bancomer, Santander, ScotiaBank, IXE  y American Express
1,3,6 Y 12 meses para pagar.

Aumenta tus venta$ con www.volanteoselectronicos.com y publicmtate a la
velocidad de Internet.



Re: Campus internet connection

2010-11-17 Thread David Coppa
On Wed, Nov 17, 2010 at 4:38 PM, Tomas Vavrys  wrote:
> Hello,
>
> I would like to use OpenBSD at school, but current documentation is
> only for Windows, Linux. Could you please guide me what is different
> and what man pages should I read?
> What bothers me is WPA supplicant. PF should not be a problem.
>
> Link to translated documentation, I know it is not perfect but I
> actually read it and it's fine to get the fundamental meaning.
> http://translate.google.cz/translate?hl=cs&sl=auto&tl=en&u=http://www.kolej.mff.cuni.cz/faq/connect_linux.html%23mac

Sorry, no way.
802.1X authentication is currently unsupported on OpenBSD.

ciao,
david



Re: An OpenBSD smartphone

2010-11-17 Thread Tomas Vavrys
The best options is Android at the moment. It's working fine and I
have to say I like it a lot. But it is definitely not open as
possible.

2010/11/17 patric conant :
> Yes, and we won't be supporting any obsolete platforms around here.
>
> On Nov 17, 2010 8:34 AM, "Francesco Vollero"  wrote:
>
> Il 17/11/10 15.17, Ted Unangst ha scritto:
>
>
>>
>> Compared to the hardware available today, the openmoko is ridiculously
>> obsolete.
> I Agree. It's really really obsolete.
>
>
>
>
>> On Wed, Nov 17, 2010 at 3:49 AM, Sergey Bronnikov
> B wrote:
>>>
>>> may be http:...



Campus internet connection

2010-11-17 Thread Tomas Vavrys
Hello,

I would like to use OpenBSD at school, but current documentation is
only for Windows, Linux. Could you please guide me what is different
and what man pages should I read?
What bothers me is WPA supplicant. PF should not be a problem.

Link to translated documentation, I know it is not perfect but I
actually read it and it's fine to get the fundamental meaning.
http://translate.google.cz/translate?hl=cs&sl=auto&tl=en&u=http://www.kolej.mff.cuni.cz/faq/connect_linux.html%23mac

Thank you...



Re: ESXi client / NFS server performance

2010-11-17 Thread Steven Surdock
> -Original Message-
> From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf
Of
> Stuart Henderson
> Subject: Re: ESXi client / NFS server performance
>
> On 2010-11-14, Steven Surdock  wrote:
...
> > where my problem lies.  Any pointers would be appreciated.
>
> When I ran ESXi 3.5 I found i/o was painfully slow, even with local
disk
> (and NFS performance with an OpenBSD server was appalling).
> In general i/o performance in ESXi 4.1 seems a lot better, but I
haven't
> tried it with OpenBSD as NFS server yet.

Thanks.  I've performed some other testing and found other clients work
acceptably, so I'll assume it's an ESXi issue.  Iperf tops out at 300
Mbps on my network, which sucks but it's better than the 50 Mbps NFS was
doing.  I'll try upgrading to 4.1 this weekend and see if that helps.

-Steve S.



Re: em(4) is just 10baseT

2010-11-17 Thread Jonathan Gray
On Tue, Nov 16, 2010 at 11:24:37PM +0100, Jochen Fabricius wrote:
> Hi all, 
> 
> today I discovered that my network connection on an Acer Aspire X3900 is only 
> 10baseT. Never realized it before because the speed is enough (mostly 
> relatively slow internet connection, no large files to/from other machines). 
> System is 4.8-release. 
> 
> I checked: 
> - wiring: even at shortest connection to the switch only 10baseT was available
> - other switches
> - other machines with the same cables, same port on switch
> 
> The PHY is a 82578, and as I understand the commit messages the support is 
> still "basic", but shouldn't at least 100baseTX work? That's what all my 
> switches support. I have to check with a 1 GbE switch, but I don't know if I 
> can get one in the next time. Has anyone higher speeds working with this PHY? 

This is a known issue with the 82578DC (82578DM doesn't show it).
It is likely something along the lines of missing workarounds
for particular revisions of the phy.



Re: An OpenBSD smartphone

2010-11-17 Thread patric conant
Yes, and we won't be supporting any obsolete platforms around here.

On Nov 17, 2010 8:34 AM, "Francesco Vollero"  wrote:

Il 17/11/10 15.17, Ted Unangst ha scritto:


>
> Compared to the hardware available today, the openmoko is ridiculously
> obsolete.
I Agree. It's really really obsolete.




> On Wed, Nov 17, 2010 at 3:49 AM, Sergey Bronnikov
 wrote:
>>
>> may be http:...



Re: An OpenBSD smartphone

2010-11-17 Thread Francesco Vollero

Il 17/11/10 15.17, Ted Unangst ha scritto:

Compared to the hardware available today, the openmoko is ridiculously
obsolete.

I Agree. It's really really obsolete.



On Wed, Nov 17, 2010 at 3:49 AM, Sergey Bronnikov  wrote:

may be http://openmoko.kd85.com/ ?

On 09:00 Wed 17 Nov , Jan Stary wrote:

My twelve years old cell phone needs to get replaced,
most probably with one of these newer smartphones.

Beside other things, I want it to be as "open" as possible:
a freely-available OS, a class-compliant USB storage, a documented
wifi hardware, etc. So, in this regard: has someone managed
to install obsd on some of these newer phones?

I understand that most of these have an OS that is basically
a modified linux; does anyone know about a varinat that would
have an OS based on BSD?

   Thanks

   Jan


--
sergeyb@




Re: An OpenBSD smartphone

2010-11-17 Thread Ted Unangst
Compared to the hardware available today, the openmoko is ridiculously
obsolete.

On Wed, Nov 17, 2010 at 3:49 AM, Sergey Bronnikov  wrote:
> may be http://openmoko.kd85.com/ ?
>
> On 09:00 Wed 17 Nov , Jan Stary wrote:
>> My twelve years old cell phone needs to get replaced,
>> most probably with one of these newer smartphones.
>>
>> Beside other things, I want it to be as "open" as possible:
>> a freely-available OS, a class-compliant USB storage, a documented
>> wifi hardware, etc. So, in this regard: has someone managed
>> to install obsd on some of these newer phones?
>>
>> I understand that most of these have an OS that is basically
>> a modified linux; does anyone know about a varinat that would
>> have an OS based on BSD?
>>
>>   Thanks
>>
>>   Jan
>>
>
> --
> sergeyb@



Re: ESXi client / NFS server performance

2010-11-17 Thread Stuart Henderson
On 2010-11-14, Steven Surdock  wrote:
> Greetings, I'm attempting to use an OBSD 4.8-stable machine as an NFS
> server for storing snapshots from an ESXi 3.5 server.  Unfortunately my
> NFS performance seems relatively poor at about 55 Mbps (6 MBps).  Both
> machines are linked up at 1 Gbps via an HP ProCurve 1850G and I'm
> writing to wd0.  I've looked at disk i/o, upped
> net.inet.tcp.recvspace/sendspace (NFS session is using TCP) and done my
> share of googling, but I'm at a bit of a loss on how to figure out where
> my problem lies.  Any pointers would be appreciated.

When I ran ESXi 3.5 I found i/o was painfully slow, even with local
disk (and NFS performance with an OpenBSD server was appalling).
In general i/o performance in ESXi 4.1 seems a lot better, but
I haven't tried it with OpenBSD as NFS server yet.



Re: em(4) is just 10baseT

2010-11-17 Thread Stuart Henderson
In gmane.os.openbsd.misc, you wrote:
> The PHY is a 82578, and as I understand the commit messages the support is 
> still "basic", but shouldn't at least 100baseTX work? That's what all my 
> switches support. I have to check with a 1 GbE switch, but I don't know if I 
> can get one in the next time. Has anyone higher speeds working with this PHY? 

if you have another machine with a gigabit port, just plug it straight in
and see what happens: use a regular (not crossover) cable and make sure
both machines are set to autoselect.



Re: openbsd 4.8 CD

2010-11-17 Thread secucatcher
Selon OpenBSD Europe Orders :

> On 17/11/2010 10:45, secucatc...@free.fr wrote:
> > hi everyone
> > does people have some problem with the shipping of obsd 4.8 cd with
> > openbsdeurope ?
> > i order the cd and the mug, i received a mail that the shipping was
> dispatched
> > in october.
> > I hadn't receive anything, and they still don't answer my emails.
> > Thanks
> >
>
> We don't see any emails?
>
> We had some delays with UPS. All orders have been shipped.
>
> If you contact me off list I'll look to see whats going on.


Strange i send two emails, and two messages by the forms.
it is the order 454
Thanks



Re: 1gbit LAN/NIC performance, queue speed bug?

2010-11-17 Thread RLW

W dniu 2010-11-16 16:14, Joel Sing pisze:

On Tuesday 16 November 2010, Robert Lewandowski wrote:

Hello,

PROBLEM: transfer speed is ONLY HALF if queue is defined in pf.conf
although queue is 950Mbit (1000Mbit-5%)
pf disabled: 768 Mbits/sec
pf enabled, queue 950Mbit: 337 Mbits/sec

ANALYSIS:

- OpenBSD 4.8 default intallation.
- Test made between OpenBSD 4.8 and Debian Linux.
(between two Debian systems speed is more than 900Mbit/s)

*
LAN interface: Intel PRO/1000 PT Desktop Adapter (PCIe, model:
EXPI9300PTBLK)
DMESG: em0 at pci1 dev 0 function 0 "Intel PRO/1000 PT (82572EI)" rev
0x06: apic 1 int 16 (irq 5), address 00:1b:21:05:1f:39
*
Default settings of TCP window size:
net.inet.tcp.recvspace=16384
net.inet.tcp.sendspace=16384
*

1a) pf disabled

r...@router-test (/root)# iperf -i 1 -t 3 -c 10.0.0.6

Client connecting to 10.0.0.6, TCP port 5001
TCP window size: 16.0 KByte (default)

[  3] local 10.0.0.8 port 27600 connected with 10.0.0.6 port 5001
[ ID] Interval   Transfer Bandwidth
[  3]  0.0- 1.0 sec  54.7 MBytes459 Mbits/sec
[ ID] Interval   Transfer Bandwidth
[  3]  1.0- 2.0 sec  54.7 MBytes458 Mbits/sec
[ ID] Interval   Transfer Bandwidth
[  3]  2.0- 3.0 sec  54.7 MBytes459 Mbits/sec

1b) pf enabled, no queue

r...@router-test (/root)# iperf -i 1 -t 3 -c 10.0.0.6

Client connecting to 10.0.0.6, TCP port 5001
TCP window size: 16.0 KByte (default)

[  3] local 10.0.0.8 port 46912 connected with 10.0.0.6 port 5001
[ ID] Interval   Transfer Bandwidth
[  3]  0.0- 1.0 sec  53.9 MBytes452 Mbits/sec
[ ID] Interval   Transfer Bandwidth
[  3]  1.0- 2.0 sec  52.6 MBytes441 Mbits/sec
[ ID] Interval   Transfer Bandwidth
[  3]  2.0- 3.0 sec  54.1 MBytes454 Mbits/sec

1c) pf enabled, added queue to default pf.conf:

altq on em0 cbq bandwidth 1Gb queue { q_lan }
queue q_lan bandwidth 950Mb cbq (default)

r...@router-test (/root)# iperf -i 1 -t 3 -c 10.0.0.6

Client connecting to 10.0.0.6, TCP port 5001
TCP window size: 16.0 KByte (default)

[  3] local 10.0.0.8 port 38266 connected with 10.0.0.6 port 5001
[ ID] Interval   Transfer Bandwidth
[  3]  0.0- 1.0 sec  33.9 MBytes284 Mbits/sec
[ ID] Interval   Transfer Bandwidth
[  3]  1.0- 2.0 sec  35.0 MBytes294 Mbits/sec
[ ID] Interval   Transfer Bandwidth
[  3]  2.0- 3.0 sec  35.8 MBytes300 Mbits/sec


*
TCP window size changed to 131072.
net.inet.tcp.recvspace: 16384 ->  131072
net.inet.tcp.sendspace: 16384 ->  131072
*

1a) pf disabled

r...@router-test (/root)# iperf -i 1 -t 3 -c 10.0.0.6

Client connecting to 10.0.0.6, TCP port 5001
TCP window size:   128 KByte (default)

[  3] local 10.0.0.8 port 32680 connected with 10.0.0.6 port 5001
[ ID] Interval   Transfer Bandwidth
[  3]  0.0- 1.0 sec  91.5 MBytes768 Mbits/sec
[ ID] Interval   Transfer Bandwidth
[  3]  1.0- 2.0 sec  92.1 MBytes773 Mbits/sec
[ ID] Interval   Transfer Bandwidth
[  3]  2.0- 3.0 sec  91.2 MBytes765 Mbits/sec

1b) pf enabled, no queue

r...@router-test (/root)# iperf -i 1 -t 3 -c 10.0.0.6

Client connecting to 10.0.0.6, TCP port 5001
TCP window size:   128 KByte (default)

[  3] local 10.0.0.8 port 41092 connected with 10.0.0.6 port 5001
[ ID] Interval   Transfer Bandwidth
[  3]  0.0- 1.0 sec  80.5 MBytes675 Mbits/sec
[ ID] Interval   Transfer Bandwidth
[  3]  1.0- 2.0 sec  80.1 MBytes672 Mbits/sec
[ ID] Interval   Transfer Bandwidth
[  3]  2.0- 3.0 sec  80.2 MBytes673 Mbits/sec

1c) pf enabled, added queue to default pf.conf:

altq on em0 cbq bandwidth 1Gb queue { q_lan }
queue q_lan bandwidth 950Mb cbq (default)

r...@router-test (/root)# iperf -i 1 -t 3 -c 10.0.0.6

Client connecting to 10.0.0.6, TCP port 5001
TCP window size:   128 KByte (default)

[  3] local 10.0.0.8 port 12499 connected with 10.0.0.6 port 5001
[ ID] Interval   Transfer Bandwidth
[  3]  0.0- 1.0 sec  40.1 MBytes337 Mbits/sec
[ ID] Interval   Transf

Re: openbsd 4.8 CD

2010-11-17 Thread OpenBSD Europe Orders
On 17/11/2010 10:45, secucatc...@free.fr wrote:
> hi everyone
> does people have some problem with the shipping of obsd 4.8 cd with
> openbsdeurope ?
> i order the cd and the mug, i received a mail that the shipping was dispatched
> in october.
> I hadn't receive anything, and they still don't answer my emails.
> Thanks
> 

We don't see any emails?

We had some delays with UPS. All orders have been shipped.

If you contact me off list I'll look to see whats going on.



openbsd 4.8 CD

2010-11-17 Thread secucatcher
hi everyone
does people have some problem with the shipping of obsd 4.8 cd with
openbsdeurope ?
i order the cd and the mug, i received a mail that the shipping was dispatched
in october.
I hadn't receive anything, and they still don't answer my emails.
Thanks



Re: 1gbit LAN/NIC performance, queue speed bug?

2010-11-17 Thread RLW

W dniu 2010-11-16 17:04, RLW pisze:

W dniu 2010-11-16 16:14, Joel Sing pisze:



The default length for a queue is 50 packets - this only allows you to
queue
around 75,000 bytes and the burstiness of TCP slow-start is likely to
well
exceed this in your configuration (due to the BDP). I'd suggest
increasing
the queue length - also run 'pfctl -vvs queue' or 'systat queue' and see
what's happening with regards to packets drops.



r...@router-test (/root)# systat queue

QUEUE BW SCH PRIO PKTS BYTES DROP_P DROP_B QLEN BORROW SUSPEN P/S B/S
root_em0 1000M cbq 0 1947967 2879364K 0 0 0 0 0 29412 44525K
q_lan 950M cbq 1947967 2879364K 0 0 0 0 0 29412 44525K



r...@router-test (/root)# pfctl -vvs queue

queue root_em0 on em0 bandwidth 1Gb priority 0 cbq( wrr root ) {q_lan}
[ pkts: 4793481 bytes: 7256036778 dropped pkts: 0 bytes: 0 ]
[ qlength: 0/ 50 borrows: 0 suspends: 0 ]
[ measured: 29385.4 packets/s, 355.86Mb/s ]
queue q_lan on em0 bandwidth 950Mb cbq( default )
[ pkts: 4793481 bytes: 7256036778 dropped pkts: 0 bytes: 0 ]
[ qlength: 0/ 50 borrows: 0 suspends: 0 ]
[ measured: 29385.4 packets/s, 355.86Mb/s ]


best regards,
Robert Lewandowski




If I am reading it wright, no packets are droped.

Changing values like:
kern.somaxconn
net.inet.ip.maxqueue
net.bpf.bufsize
net.bpf.maxbufsize
net.inet.ipcomp.enable
net.inet.tcp.ackonpush
net.inet.tcp.ecn

does not help either. It only has some influence on network speed with 
PF disabled. With PF enabled speed is alwasy around 350mbit/s :((


So any new ideas about debuging the problem or possible solution?


best regards,
Robert Lewandowski



Re: An OpenBSD smartphone

2010-11-17 Thread Sergey Bronnikov
may be http://openmoko.kd85.com/ ?

On 09:00 Wed 17 Nov , Jan Stary wrote:
> My twelve years old cell phone needs to get replaced,
> most probably with one of these newer smartphones.
> 
> Beside other things, I want it to be as "open" as possible:
> a freely-available OS, a class-compliant USB storage, a documented
> wifi hardware, etc. So, in this regard: has someone managed
> to install obsd on some of these newer phones?
> 
> I understand that most of these have an OS that is basically
> a modified linux; does anyone know about a varinat that would
> have an OS based on BSD?
> 
>   Thanks
> 
>   Jan
> 

-- 
sergeyb@



Re: An OpenBSD smartphone

2010-11-17 Thread rancor
Use duct tape and wire it with a netbook with internal GSM module around
your head and install vanilla OpenBSD... works perfectly

Don't use that new thing called 3g, umts,cdma or anything else. It's alien
technology
Den 2010 11 17 09:05 skrev "Jan Stary" :



XXII Ateneo 2010: Equinoterapia y Psicoterapia Asistida con Caballos

2010-11-17 Thread difusion-esa
La ESCUELA SISTIMICA ARGENTINA

 es una Institucisn dedicada a la docencia, asistencia e investigacisn
psicolsgica. Hoy nos acercamos a Uds. para invitarlos a la realizacisn
del: XXIII Ateneo - 2010



"Equinoterapia y

Psicoterapia asistida con caballos"
Nadine BELL
Equinoterapeuta, Especialista Equina, Empresaria

Viernes 19 de Noviembre, 19hs. 
Entrada libre y gratuita - sin inscripcisn previa



ESCUELA SISTIMICA ARGENTINA
Fray J. S. M. Oro 1843 (C1414DBC) Cap. Fed.
Tel/ Fax: 4774-2875/6112 -  4899-1053



Re: em(4) is just 10baseT

2010-11-17 Thread Bryan Irvine
On Tue, Nov 16, 2010 at 10:25 PM, Jochen Fabricius  wrote:
> Hi,
>
>> Hi,
>>
>> What does:
>>
>> ifconfig em0 media
>>
>> say?
>>
>> Fred
>>
>
>  ifconfig em0 media
> em0: flags=8843 mtu 1500
>lladdr 90:fb:a6:46:db:e1
>priority: 0
>groups: egress
>media: Ethernet autoselect (10baseT full-duplex,rxpause,txpause)
>status: active
>supported media:
>media 10baseT
>media 10baseT mediaopt full-duplex
>media 100baseTX
>media 100baseTX mediaopt full-duplex
>media 1000baseT mediaopt full-duplex
>media 1000baseT
>media autoselect
>inet 10.0.0.100 netmask 0xff00 broadcast 10.0.0.255
>
> I tried ifconfig em0 media 100baseTX (+ mediaopt full-duplex) then I have no
connection.

Make sure you are setting both sides to 100-full or you will end up in
a duplex mismatch.

-B



An OpenBSD smartphone

2010-11-17 Thread Jan Stary
My twelve years old cell phone needs to get replaced,
most probably with one of these newer smartphones.

Beside other things, I want it to be as "open" as possible:
a freely-available OS, a class-compliant USB storage, a documented
wifi hardware, etc. So, in this regard: has someone managed
to install obsd on some of these newer phones?

I understand that most of these have an OS that is basically
a modified linux; does anyone know about a varinat that would
have an OS based on BSD?

Thanks

Jan