Re: Make ZFS use the physical sector size when computing initial ashift

2013-07-10 Thread Borja Marcos
On Jul 10, 2013, at 11:25 AM, Steven Hartland wrote: > If others are interested I've attached this as it achieves what we needed > here so > may also be of use for others too. > > There's also a big discussion on illumos about this very subject ATM so I'm > monitoring that too. > > Hopefully t

Re: Stupid question about integer sizes

2013-02-19 Thread Borja Marcos
On Feb 19, 2013, at 3:52 PM, m...@freebsd.org wrote: > Last I knew -m32 still wasn't quite supported on 9.1. This is fixed Ahh I see. It should print a warning, then. It's the typical thing that can drive you nuts ;) Thanks, Borja. ___ freebsd

Stupid question about integer sizes

2013-02-19 Thread Borja Marcos
Hello, I'm really sorry if this is a stupid question, but as far as I know, u_int64_t defined in /usr/include/sys/types.h should *always* be a 64 bit unsigned integer, right? Seems there's a bug (or I need more and stronger coffee). Compiling a program on a 64 bit system with -m32 gets the 64

Re: mfi (Dell H700) + hot swapping doesn't appear to work with RC1

2011-12-14 Thread Borja Marcos
On Dec 14, 2011, at 2:09 PM, Hugo Silva wrote: > Hello, > > First of all apologies if this has been fixed in RC3. I set this server > up with mfsbsd, which is RC1, and didn't get to update the system yet. > > This box has 6 hdds, a 2-mirror zpool was set up as the root pool, with > 2 spares. >

Re: Kernel panic on PowerEdge 1950 under certain stress load

2007-09-24 Thread Borja Marcos
On 24 Sep 2007, at 11:33, Kris Kennaway wrote: Borja Marcos wrote: I don't have the exact IP address involved, but we experienced consistent panics in two heavily loaded mail servers (same hardware models, Dell Powereedge) runnning Postfix and FreeBSD 6.2. Suspecting an issue with t

Re: Kernel panic on PowerEdge 1950 under certain stress load

2007-09-24 Thread Borja Marcos
On 22 Sep 2007, at 00:26, Benjie Chen wrote: FreeBSD 6.2 on PowerEdge 1950, RAID1 setup with mfi driver (PERC5i). 4GB RAM. I am currently running i386, and not amd64, due to various reasons. Kernel panic is at 0xC066C731, which from nm shows it's in mtx_lock_spin c066c7b4 T _mtx_lock_s

Announcement: Devilator 1.0a for FreeBSD

2007-09-11 Thread Borja Marcos
technical support either. This program started its life as an internal development, and I'm polishing it for public distribution. Most of the development time has been payed for by my employer, Sarenet, and it's being released as a contribution to the FreeBSD community. Please

Re: [patch] rm can have undesired side-effects

2006-10-29 Thread Borja Marcos
That maybe the case but does rm -f remove all copies? Nope so its behaviour is safe even with multiple hardlinks. No. rm unlinks a file from a directory. If the file had no more links, it is deleted as well. There's no surprise at all on the behavior of rm with hard links. Borja.

Re: network stack problem in sparc64?

2006-09-26 Thread Borja Marcos
On 25 Sep 2006, at 18:34, Maksim Yevmenkin wrote: Borja Marcos wrote: earendil# sysctl net.inet.tcp|fgrep space net.inet.tcp.sendspace: 0 net.inet.tcp.recvspace: 0 earendil# sysctl net.inet.udp hmmm... how about this (untested) patch? -u_long tcp_sendspace = 1024*32; +inttcp_sendspace

network stack problem in sparc64?

2006-09-25 Thread Borja Marcos
Hello, I saw this some time ago but always forgot to report it. I'm running a pair of machines with FreeBSD/sparc64 (various versions, one of them is running -STABLE now), and I've seen a problem with the network stack. Looking at buffer and window sizes, earendil# sysctl net.inet.tcp|fgr

Re: syslogd not draining

2006-03-27 Thread Borja Marcos
I've got a machine running syslogd, DNS, DHCP, flow-capture, and other assorted UDP-loving programs. Occasionally, they all stop working. The machine has been up for a couple of hours now, and I see: ns1/etc;netstat -s | grep full Warning: sysctl(net.inet6.ip6.rip6stats): No such file or directo

Re: IBM Active Protection System Approach

2005-08-23 Thread Borja Marcos
mmm.. There is a static 1G force on the laptop while it is on your desk. When it falls it goes to 0G as it is in free fall. Still.. "delta G == park laptop heads" :) It's not a "force meter", but an acelerometer. It measures acceleration. If the computer is sitting on your desk, as it h

Re: IBM Active Protection System Approach

2005-08-22 Thread Borja Marcos
I think this will need to be tailored to the exact type of "mishap" one wants to protect against. I think that the main purpose of the shock detection system is to allow data to be recovered from the disk in case the laptop is broken. By parking the heads asap you can avoid damaging the

Re: [RFC] Bumping ufs.dirhash_maxmem to a larger value?

2005-08-07 Thread Borja Marcos
So why not make the determination of "dirhash_maxmem" the result of some calculation(s) that takes into account RAM size, etc ? The obvious lesson here is that picking a number to be a limit based on the current size of machines fails the test of time. I think that changing it now with

Re: Tracking FreeBSD performance over time - what hackers want?

2005-06-13 Thread Borja Marcos
So, again, please send Your opinions on this idea. Do You think this (+ all needed utilities to do statistics etc) would be applicable to Summer Of Code "Tracking performance over time" project? A very good (and simple) way to track and plot peformance over time is Orca. You only need t

Re: High traffic NFS performance and availability problems

2005-02-19 Thread Borja Marcos
I think leaving the 4.x clients in a known configuration and just varying the server configurations the right starting point. Let's try tracking the server 5.x stability/performance first, then look into the client 4.x crash reports. I've seen amazing performance differences between 4.9 and 5.3

Re: MBUF statistics

2005-02-16 Thread Borja Marcos
This statistic appears to have been lost during the conversion to UMA allocating mbufs. I probably won't get to it this week, but I'll try to get that statistic back in the mix in the next week or two. Unfortunately, I will disable the MBUF statistics for now. I plan to release the first versi

Re: MBUF statistics

2005-02-15 Thread Borja Marcos
needs to be changed to accomodate this structure, but in addition to that a way to make statistics gathering cheaper would be nice, because currently doing a 'vmstat -z' is really terrible for performance. Which reminds me... those of you doing benchmarks, please don't run 'vmstat -z' while you're

Re: MBUF statistics

2005-02-15 Thread Borja Marcos
I use "$vmstat -z | grep Mbuf". The netstat -m output is broken, because fixing this would impose an additional atomic operation on each alloc/free which is a real performance killer. Humm. Will check the vm.zone sysctl, thanks :-) I guess there's a lot of interesting info there, but some o

MBUF statistics

2005-02-15 Thread Borja Marcos
Hello, Looking at the mbuf statistics available in FreeBSD 4 and FreeBSD 5 I can see that the statistics available in FreeBSD 5 are, surprisingly, much less comprehensive. Is there any other place where I can find out how many mbuf requests have been done, how many of them have waited, how

Re: Devilator - performance monitoring for FreeBSD

2005-02-13 Thread Borja Marcos
Wait until you would like to do a larger server park. Then you start running into performance issues because you nee to setup a full ssh/tcp connection. Whereas SNMP-v3 over UDP is a lot faster and simpler. And it is not like you are transporting majore security type data Well, I've been u

Re: My disk I/O testing methods for FreeBSD 5.3 ...

2005-02-03 Thread Borja Marcos
I intend to backport some code that lets me graph system activity into RELENG_5. Are you setup to cvsup to this tag? Would it be convenient for you to do so? I'm working right now on a data collector for Orca, which will be released more or less next week. It supports FreeBSD 4 and 5, so it c

Re: Devilator - performance monitoring for FreeBSD

2005-02-02 Thread Borja Marcos
This is very cool. :-) How are you currently extracting the information? One of the things I've wanted to do for a while is make sure all this sort of thing is exposed via snmpd so that the information can be gathered easily across a large number of hosts (say, 10,000). Right now I'm using a co

Devilator - performance monitoring for FreeBSD

2005-02-02 Thread Borja Marcos
Hello, I'm writing a performance monitoring data collector for Orca (www.orcaware.com) for FreeBSD 4- and 5-. I'm not sure about the correct values in the process description to get a picture as accurate as possible of the cpu usage of different processes. I've seen that top uses p_runtim

Orca performance data collector

2001-07-02 Thread Borja Marcos
Hello, I am "writing" (in fact I am getting a lot of code from /usr/src/usr.bin/vmstat) an Orca data collector for FreeBSD. I think it would be great to have the performance data available in Orca. I am thinking about representing the following parameters: CPU

Re: traceroute using tcp to a port?

2000-09-20 Thread Borja Marcos
> > If I understand correctly, traceroute works by sending pings with ttl=1, > ttl=2,ttl=3 etc and records the names of the routers where the ttl reaches > zero. No, traceroute send UDP messages by default. Doing a traceroute with TCP (it has an option, -P tcp) can be really use

Re: Advanced OS Questions only you can answer...

2000-08-23 Thread Borja Marcos
ibuted operating systems; both are quite different, with different design goals. Borja. -- *** Borja Marcos* Internet: [EMAIL PROTECTED] Alangoeta, 11 1 izq * [EMAI

Re: IPv6, IPv4 and /etc/resolv.conf problems

2000-02-22 Thread Borja Marcos
> > Hi, > Specifying `options no_tld_query' in /etc/resolv.conf may helps you. Yes, you're right, thanks But, isn't that behavior a bug? Borja. -- ******* Borja Marcos

IPv6, IPv4 and /etc/resolv.conf problems

2000-02-22 Thread Borja Marcos
Hello, I'm testing 4.0-current and have just found a problem ith the resolver. It seems this problem is lurking many releases ago, but in only appears when using IPv6 and IPv4. If you enable both, and use the "domain" or "search" keyword in /etc/resolv.conf, it doesn't wo

Obtaining the filename for a vnode

1999-10-30 Thread Borja Marcos
I see (kern_exec.c) I have the vnode of the process text, but, how can I obtain the filename for the vnode? Is there a routine in the kernel to do that? Thanks, Borja. -- *** Borja Marcos* Int

Re: exec() security enhancement

1999-10-30 Thread Borja Marcos
> > I forgot, the same could be applied to filesystems mounted as "nosuid". Borja. -- ******* Borja Marcos* Internet: [EMAIL PROTECTED] Alangoeta, 11 1 izq *

exec() security enhancement

1999-10-30 Thread Borja Marcos
With this measeure, and mounting /tmp as "noexec" some generic hostile acts (wow, how does it sound! :-) ) could be detected. Regards, Borja. -- ******* Borja Marcos