Re: Re: intel checksum offload

2012-04-13 Thread beezarliu
Hi, I'm also curious about why the CSUM_IP was removed in all the intel NICs. Although this thread is very old, I still need the answer because IP checksum offload is actually supported in intel's datasheet. Thanks! 2012-04-14 beezarliu 发件人: YongHyeon PYUN 发送时间: 2011-09-18 04:58:10 收

Re: mlockall() on freebsd 7.2 + amd64 returns EAGAIN

2012-04-13 Thread Konstantin Belousov
On Fri, Apr 13, 2012 at 11:37:44AM -0700, Sushanth Rai wrote: > I've attached the simple program that creates 5 threads. Following is the o/p > of /proc//map when this program is running. Note that I modified > sys/fs/procfs/procfs_map.c to print whether a region is wired. As you can see > from

Re: mlockall() on freebsd 7.2 + amd64 returns EAGAIN

2012-04-13 Thread Sushanth Rai
Just in case the attachment doesn't come through. Here is the program: #include #include #include #include #include #include #include #include #include void * thr_func(void *); #define MAX_THREADS 5 main() { int i; int thread_num[MAX_THREADS]; pthread_t tid[MAX_T

Re: mlockall() on freebsd 7.2 + amd64 returns EAGAIN

2012-04-13 Thread Sushanth Rai
I've attached the simple program that creates 5 threads. Following is the o/p of /proc//map when this program is running. Note that I modified sys/fs/procfs/procfs_map.c to print whether a region is wired. As you can see from this o/p, none of stack areas get wired. 0x40 0x401000 1 0 0xfff

Re: Regarding core disable in FreeBSD 9

2012-04-13 Thread Dan Nelson
In the last episode (Apr 13), Florian Smeets said: > On 13.04.12 19:34, Alexander Best wrote: > > On Sat Apr 14 12, Mahesh Babu wrote: > >> How to disable a particular core in FreeBSD 9? How to enable it again? > > > > i don't think it's possible to do that in freebsd. what you can do is to > > di

Re: Regarding core disable in FreeBSD 9

2012-04-13 Thread Florian Smeets
On 13.04.12 19:34, Alexander Best wrote: On Sat Apr 14 12, Mahesh Babu wrote: How to disable a particular core in FreeBSD 9? How to enable it again? i don't think it's possible to do that in freebsd. what you can do is to disable SMP oder hyperthreading. alternatively you can assign a certain

Re: Regarding core disable in FreeBSD 9

2012-04-13 Thread Alexander Best
On Sat Apr 14 12, Mahesh Babu wrote: > How to disable a particular core in FreeBSD 9? > How to enable it again? i don't think it's possible to do that in freebsd. what you can do is to disable SMP oder hyperthreading. alternatively you can assign a certain process to a certain core. i think there

Regarding core disable in FreeBSD 9

2012-04-13 Thread Mahesh Babu
How to disable a particular core in FreeBSD 9? How to enable it again? ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: mlockall() on freebsd 7.2 + amd64 returns EAGAIN

2012-04-13 Thread Konstantin Belousov
On Thu, Apr 12, 2012 at 08:10:26PM -0700, Sushanth Rai wrote: > > > > Then it should be fixed in r190885. > > > > Thanks. That works like a charm. > > mlockall() mostly works now. There is still a, issue in wiring the stacks of > multithreaded program when the program uses default stack alloc