Re: how to find out if an IP address is assigned statically or dynamically?

2013-02-11 Thread hiren panchasara
On Feb 11, 2013 10:44 PM, "h bagade" wrote: > > Hi all, > > I want to know if there is a way to find out if an interface address is > assigned by dhcp or statically? For example, any distinctive flag or > something like that on ifconfig output! or any other way except processing > dhclient leases

Re: request

2013-03-13 Thread hiren panchasara
On Wed, Mar 13, 2013 at 12:02 AM, rathish mudaliar wrote: > Hi, > > I request you to kindly add me to your mailing list. http://lists.freebsd.org/mailman/listinfo/freebsd-net This is where you can go and subscribe. cheers, Hiren > > > Regards > Rathish.R > _

Re: bce(4) panics, 9.2rc1

2013-07-24 Thread hiren panchasara
On Wed, Jul 24, 2013 at 2:23 PM, Sean Bruno wrote: > On Wed, 2013-07-24 at 14:07 -0700, Sean Bruno wrote: >> Running 9.2 in production load mail servers. We're hitting the >> "watchdog" message and crashing with the stable/9 version. We're >> reverting the change from 2 weeks ago and seeing if i

Re: DTrace network providers

2013-08-22 Thread hiren panchasara
On Thu, Aug 22, 2013 at 8:36 AM, George Neville-Neil wrote: > > On Aug 21, 2013, at 1:00 , Mark Johnston wrote: > > > Hello! > > > > I've ported the ip, tcp and udp DTrace providers to FreeBSD, following > > the Solaris documentation here: > > > > https://wikis.oracle.com/display/DTrace/ip+Provid

Re: DTrace network providers

2013-08-22 Thread hiren panchasara
On Thu, Aug 22, 2013 at 3:05 PM, Yuri wrote: > On 08/20/2013 22:00, Mark Johnston wrote: >> >> The patch is here: >> >> >> http://people.freebsd.org/~markj/patches/network-providers/network-providers-1.diff >> >> It depends on r254468. To use it, just recompile the kernel (assuming > > > Your patc

Re: DTrace network providers

2013-08-23 Thread hiren panchasara
On Thu, Aug 22, 2013 at 10:25 AM, hiren panchasara < hiren.panchas...@gmail.com> wrote: > > > > On Thu, Aug 22, 2013 at 8:36 AM, George Neville-Neil wrote: > >> >> On Aug 21, 2013, at 1:00 , Mark Johnston wrote: >> >> > Hello! >> > >>

Re: mbuf autotuning changes

2013-09-06 Thread hiren panchasara
On Fri, Sep 6, 2013 at 12:14 PM, Alfred Perlstein wrote: > On 9/6/13 12:10 PM, hiren panchasara wrote: > >> tunable_mbinit() in kern_mbuf.c looks like this: >> >> 119 /* >> 120 * The default limit for all mbuf related memory is 1/2 of all >

mbuf autotuning changes

2013-09-06 Thread hiren panchasara
tunable_mbinit() in kern_mbuf.c looks like this: 119 /* 120 * The default limit for all mbuf related memory is 1/2 of all 121 * available kernel memory (physical or kmem). 122 * At most it can be 3/4 of available kernel memory. 123 */ 124 realmem

Re: mbuf autotuning changes

2013-09-06 Thread hiren panchasara
On Fri, Sep 6, 2013 at 12:38 PM, Alfred Perlstein wrote: > On 9/6/13 12:36 PM, hiren panchasara wrote: > >> On Fri, Sep 6, 2013 at 12:14 PM, Alfred Perlstein wrote: >> >> On 9/6/13 12:10 PM, hiren panchasara wrote: >>> >>> tunable_mbinit() in

mbuf autotuning effect

2013-09-06 Thread hiren panchasara
We are seeing an interesting thing on a mips board with 32MB ram. We run out of mbuf very easily and looking at numbers it seems we are only getting 6mb of maxmbufmem. # sysctl -a | grep hw | grep mem hw.physmem: 33554432 hw.usermem: 21774336 hw.realmem: 33554432 # # sysctl -a | grep maxmbuf

Re: mbuf autotuning effect

2013-09-07 Thread hiren panchasara
on loader.conf instead of actually auto tuning. Thanks, Hiren > > So my guess as to why this is the case: cut and paste worked, so nobody changed it after that. > > # Still need to reads hiren's email to comprehend it... > > Warner > > > > > > > > -ad

Re: mbuf autotuning effect

2013-09-07 Thread hiren panchasara
On Sat, Sep 7, 2013 at 12:56 PM, Ian Lepore wrote: > On Sat, 2013-09-07 at 12:21 -0700, hiren panchasara wrote: > > On Sep 6, 2013 8:26 PM, "Warner Losh" wrote: > > > > > > > > > On Sep 6, 2013, at 7:11 PM, Adrian Chadd wrote: > > >

Re: mbuf autotuning effect

2013-09-07 Thread hiren panchasara
On Sat, Sep 7, 2013 at 1:39 PM, Adrian Chadd wrote: > On 7 September 2013 12:56, Ian Lepore wrote: > > >> I think the part of this that strikes me as strange is calling 20% of >> physical memory used for network buffers a "very low value". It seems >> outrageously high to me. I'd be pissed i

Exposing sysctls for ixgbe

2013-09-22 Thread hiren panchasara
$ sysctl hw.igb hw.igb.rxd: 4096 hw.igb.txd: 4096 hw.igb.enable_aim: 1 hw.igb.enable_msix: 1 hw.igb.max_interrupt_rate: 8000 hw.igb.buf_ring_size: 4096 hw.igb.header_split: 0 hw.igb.num_queues: 1 hw.igb.rx_process_limit: 100 $ sysctl hw.ix sysctl: unknown oid 'hw.ix': No such file or directory I t

netmap: understanding pkg-gen.c

2013-09-24 Thread hiren panchasara
I am new to netmap so thought of confirming my understanding. I was trying to associate ixgbe interface with netmap and blast pkts to it using tools/tools/netmap/pkg-gen.c My setup looks like this: FreeBSD 10.0-ALPHA1 #2: Sun Sep 22 18:08:18 UTC 2013 -bash-4.2$ sysctl hw.physmem hw.physmem: 5150

Re: Exposing sysctls for ixgbe

2013-09-24 Thread hiren panchasara
Any comments? cheers, Hiren On Sun, Sep 22, 2013 at 12:01 PM, hiren panchasara wrote: > $ sysctl hw.igb > hw.igb.rxd: 4096 > hw.igb.txd: 4096 > hw.igb.enable_aim: 1 > hw.igb.enable_msix: 1 > hw.igb.max_interrupt_rate: 8000 > hw.igb.buf_ring_size: 4096 >

netmap: traffic distribution

2013-09-25 Thread hiren panchasara
I am providing line rate traffic (via pkg-gen.c) to my 10gig ix interface. Now on receiving side, is there a way to sub-divide the traffic into multiple workloads using netmap? For example, can I get two 5G flows from 10Gbps traffic? cheers, Hiren ___

Re: netmap: traffic distribution

2013-09-25 Thread hiren panchasara
On Wed, Sep 25, 2013 at 1:22 AM, Luigi Rizzo wrote: > On Wed, Sep 25, 2013 at 10:07 AM, hiren panchasara > wrote: > > > > I am providing line rate traffic (via pkg-gen.c) to my 10gig ix > interface. > > > > Now on receiving side, is there a way to sub-div

Re: netmap: traffic distribution

2013-09-25 Thread hiren panchasara
On Wed, Sep 25, 2013 at 2:05 AM, Luigi Rizzo wrote: > On Wed, Sep 25, 2013 at 10:53 AM, hiren panchasara > wrote: > > > > > > > > On Wed, Sep 25, 2013 at 1:22 AM, Luigi Rizzo wrote: > >> > >> On Wed, Sep 25, 2013 at 10:07 AM, hiren panchasara >

Re: netmap: traffic distribution

2013-09-26 Thread hiren panchasara
On Thu, Sep 26, 2013 at 12:58 AM, Michio Honda wrote: > Hi, > > The handiest way to try flexible flow distribution is using Flow Director. > I've confirmed that the patch posted to this list two years ago works with > netmap/ixgbe. > > http://freebsd.1045724.n5.nabble.com/Adding-Flow-Director-sys

Re: netmap: traffic distribution

2013-09-26 Thread hiren panchasara
On Thu, Sep 26, 2013 at 2:27 PM, chintu hetam wrote: > Hiren, > > https://www.kernel.org/doc/Documentation/networking/scaling.txt must read > to understand nuances of each of this features. None of this techniques are > used for mostly none other than performance reasons. > Thanks for the link.

Adding Flow Director sysctls to ixgbe(4) (was: netmap: traffic distribution)

2013-09-27 Thread hiren panchasara
On Thu, Sep 26, 2013 at 10:38 AM, hiren panchasara < hiren.panchas...@gmail.com> wrote: > > > > On Thu, Sep 26, 2013 at 12:58 AM, Michio Honda wrote: > >> Hi, >> >> The handiest way to try flexible flow distribution is using Flow Director. >> I'v

Re: netmap: traffic distribution

2013-09-27 Thread hiren panchasara
packets in same order. > > Michio, reason i asked for performance values > http://arxiv.org/ftp/arxiv/papers/1106/1106.0443.pdf > I would like to test the accuracy of RFS,RSS and others in netmap mode.. > > Thanks > Hardik > > > On Fri, Sep 27, 2013 at 2:59 AM, hire

Re: Adding Flow Director sysctls to ixgbe(4) (was: netmap: traffic distribution)

2013-09-27 Thread hiren panchasara
On Fri, Sep 27, 2013 at 1:58 AM, Takuya ASADA wrote: > 2013/9/27 Adrian Chadd > >> On 27 September 2013 00:43, hiren panchasara >> wrote: >> >> >>> Takuya, >>> >>> I see a lot of responses/comments on proposed changes. Was anything &g

Re: Adding Flow Director sysctls to ixgbe(4) (was: netmap: traffic distribution)

2013-09-30 Thread hiren panchasara
>> - support perfect filter >> But, at least it can configure signature filter manually. >> >> Usage is as follows: >> Usage: ixgbetool [operation] >> add_sig_filter >> del_sig_filter >> >> >> 2013/9/28 hiren panchasara >>

Re: Exposing sysctls for ixgbe

2013-09-30 Thread hiren panchasara
+ jfv On Wed, Sep 25, 2013 at 5:35 PM, Adrian Chadd wrote: > please cc jfv and get them into his driver. :) > > -a > > > On 24 September 2013 23:53, hiren panchasara wrote: > >> Any comments? >> >> cheers, >> Hiren >> >> On

Re: Flow Director statistics for ixgbe(4)

2013-09-30 Thread hiren panchasara
On Mon, Sep 30, 2013 at 12:02 PM, Takuya ASADA wrote: > Hi, > > This is originally part of "ixgbetool" patch, but I think it can be discuss > separately: > > http://freebsd.1045724.n5.nabble.com/Adding-Flow-Director-sysctls-to-ixgbe-4-was-netmap-traffic-distribution-tp5847066p5847789.html > > I i

Re: Flow Director statistics for ixgbe(4)

2013-09-30 Thread hiren panchasara
vents" (I believe, "do not change the number of free" part is given when addition is failing) from "Number of packets that missed matched any flow director filter" to "Number of packets that didn't match any flow director filter" > > 2013/10/1 hiren

Re: netmap: understanding pkg-gen.c

2013-10-02 Thread hiren panchasara
Thanks Luigi. Coming back to this thread to actually understand what's going on. On Tue, Sep 24, 2013 at 8:37 PM, Luigi Rizzo wrote: > > > > On this box, I have 2 interfaces igb0 (10.73.149.28) and ix1 > (10.73.149.17) > > and this is how I am using this binary: > > > > -bash-4.2$ sudo ./pkt-ge

Re: netmap: understanding pkg-gen.c

2013-10-02 Thread hiren panchasara
On Wed, Oct 2, 2013 at 1:18 PM, hiren panchasara wrote: > > Thanks Luigi. > > Coming back to this thread to actually understand what's going on. > > > On Tue, Sep 24, 2013 at 8:37 PM, Luigi Rizzo wrote: > >> > >> > On this box, I have 2 interfac

Re: netmap: understanding pkg-gen.c

2013-10-02 Thread hiren panchasara
On Wed, Oct 2, 2013 at 3:11 PM, hiren panchasara wrote: > > > > On Wed, Oct 2, 2013 at 1:18 PM, hiren panchasara < > hiren.panchas...@gmail.com> wrote: > >> >> Thanks Luigi. >> >> Coming back to this thread to actually understand what's goin

Re: netmap: understanding pkg-gen.c

2013-10-02 Thread hiren panchasara
On Wed, Oct 2, 2013 at 4:15 PM, hiren panchasara wrote: > > > > On Wed, Oct 2, 2013 at 3:11 PM, hiren panchasara < > hiren.panchas...@gmail.com> wrote: > >> >> >> >> On Wed, Oct 2, 2013 at 1:18 PM, hiren panchasara < >> hiren.panchas...@

Re: netmap: understanding pkg-gen.c

2013-10-02 Thread hiren panchasara
On Wed, Oct 2, 2013 at 4:39 PM, hiren panchasara wrote: > > > > On Wed, Oct 2, 2013 at 4:15 PM, hiren panchasara < > hiren.panchas...@gmail.com> wrote: > >> >> >> >> On Wed, Oct 2, 2013 at 3:11 PM, hiren panchasara < >> hiren.panchas...@gm

Re: netmap: understanding pkg-gen.c

2013-10-02 Thread hiren panchasara
On Wed, Oct 2, 2013 at 11:05 PM, Luigi Rizzo wrote: > > > > On Thu, Oct 3, 2013 at 6:34 AM, hiren panchasara < > hiren.panchas...@gmail.com> wrote: > >> >> Thanks Luigi. >>>>>> >>>>>> Coming back to this thread to actually

Re: Exposing sysctls for ixgbe

2013-10-04 Thread hiren panchasara
I am going to commit this change in the weekend. Let me know if there are any objections. Thanks, Hiren On Mon, Sep 30, 2013 at 8:51 AM, hiren panchasara wrote: > + jfv > > > On Wed, Sep 25, 2013 at 5:35 PM, Adrian Chadd wrote: > >> please cc jfv and get them into hi

Re: Exposing sysctls for ixgbe

2013-10-05 Thread hiren panchasara
Thanks. Committed via: http://svnweb.freebsd.org/base?view=revision&revision=256069 Cheers, Hiren ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@fr

Re: Adding Flow Director sysctls to ixgbe(4) (was: netmap: traffic distribution)

2013-10-07 Thread hiren panchasara
unable params >> - IPv6 support on signature filter >> - signature filter list >> - support perfect filter >> But, at least it can configure signature filter manually. >> >> Usage is as follows: >> Usage: ixgbetool [operation] >> add_sig_filt

Re: igb(4) panic: already enqueue

2013-10-09 Thread hiren panchasara
Jack, I am also seeing similar panics at $work on a couple weeks old STABLE-9. Can you please look into this issue? cheers, Hiren 1) HP DL360e Gen8, 2 x Xeon E5-2430 2.20GHz panic: buf=0xfe002810d700 already enqueue at 995 prod=997 cons=995 cpuid = 17 KDB: stack backtrace: db_trace_self_wra

Re: TCP Initial Window 10 MFC

2014-03-04 Thread hiren panchasara
On Wed, Aug 14, 2013 at 8:46 PM, Lawrence Stewart wrote: > On 08/15/13 02:44, Andre Oppermann wrote: >> On 14.08.2013 04:36, Lawrence Stewart wrote: >>> Hi Andre, >>> >>> [RE team is BCCed so they're aware of this discussion] >>> >>> On 07/06/13 00:58, Andre Oppermann wrote: Author: andre >>>

Re: TCP Initial Window 10 MFC

2014-03-04 Thread hiren panchasara
On Tue, Mar 4, 2014 at 7:38 PM, Lawrence Stewart wrote: > I lost the battle of wills on this topic and 10.0 shipped with IW10 > enabled by default :( > > As for having it configurable, it is a trivial patch which perhaps, > Hiren, you might be willing to take a stab at? I obviously did not > man

Include port number in "Listen queue overflow" messages

2014-03-06 Thread hiren panchasara
I am thinking of committing following change that includes port number in "Listen queue overflow" messages. New message would look something like: sonewconn: pcb 0xf8001b155760: Listen queue overflow on port 13120: 1 already in queue awaiting acceptance (454 occurrences) I've recently ran int

Re: Include port number in "Listen queue overflow" messages

2014-03-21 Thread hiren panchasara
On Wed, Mar 19, 2014 at 4:35 PM, Navdeep Parhar wrote: > On Tue, Mar 18, 2014 at 11:05:23PM -0700, Julian Elischer wrote: >> On 3/18/14, 8:33 PM, George Neville-Neil wrote: >> >On Mar 7, 2014, at 1:23 , hiren panchasara >> >wrote: >> > >> >>I

hostcache's effect on initcwnd calculation

2014-03-24 Thread hiren panchasara
Host A:1 talks to Host B:2 (1 and 2 being ports) and it gets logged in tcp's hostcache. Now if a new connection happens between A:10001 and Host B:2, the initcwnd (initial congestion window) would not look at the CWND from hostcache but will always use what we've set as tp->snd

Re: questions about (system) dhcp

2014-03-31 Thread hiren panchasara
On Mon, Mar 31, 2014 at 6:31 AM, Robert Huff wrote: > Hello: > Is this the correct place to ask? Yes. Cheers, Hiren ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to

Re: DCTCP implementation

2014-03-31 Thread hiren panchasara
On Sun, Mar 30, 2014 at 10:37 PM, Midori Kato wrote: > Hi FreeBSD developpers, > > I'm Midori Kato. I'm working on the DCTCP implementation in the FreeBSD with > Lars Eggert. I mail you because I would like to ask you a code review and > testing. The attached patch is not good enough to test our c

Re: DCTCP implementation

2014-04-02 Thread hiren panchasara
On Sun, Mar 30, 2014 at 10:37 PM, Midori Kato wrote: > Hi FreeBSD developpers, > > I'm Midori Kato. I'm working on the DCTCP implementation in the FreeBSD with > Lars Eggert. I mail you because I would like to ask you a code review and > testing. The attached patch is not good enough to test our c

Re: DCTCP implementation

2014-04-03 Thread hiren panchasara
pkt_handler() function. We can probably pass that to cc_encpkg_handler() while calling it from tcp_do_segment(). I'll make that change and see how it goes. cheers, Hiren > > Regards, > -- Midori > > > (4/3/14, 10:24 AM), hiren panchasara wrote: >> >> On Sun, Mar

Re: netisr 0 : %100 and other netisr threads are waiting

2014-04-05 Thread hiren panchasara
On Thu, Apr 3, 2014 at 9:54 PM, Özkan KIRIK wrote: > Hi, > > I am trying to use suricata on FreeBSD 10 amd64. > FreeBSD behaves as a VLAN router and NAT Box. > > Traffic is about 400Mbps. > When i diverted traffic to suricata, swi: netisr 0 thread gets %100 cpu. > other netisr threads are %0. And

Re: ECN marking implenetation for dummynet

2014-04-08 Thread hiren panchasara
On Tue, Apr 8, 2014 at 8:46 PM, Adrian Chadd wrote: > Hi! Cool! can you file a FreeBSD PR with this? I'm testing this patch right now. I will make sure it doesn't get lost. :-) cheers, Hiren > > > -a > > > On 2 April 2014 04:48, Midori Kato wrote: >> Hi FreeBSD developers, >> >> I'm Midori Kat

netisr observations

2014-04-10 Thread hiren panchasara
(Note: This may seem more like a rant than an actual problem report.) I am on a stable-10ish box with igb0. Workload is mainly inbound nfs traffic. About 2K connections at any point in time. device igb # Intel PRO/1000 PCIE Server Gigabit Family hw.igb.rxd: 4096 hw.igb.txd: 4

Re: Patches for RFC6937 and draft-ietf-tcpm-newcwv-00

2014-04-11 Thread hiren panchasara
On Fri, Apr 11, 2014 at 4:15 AM, Eggert, Lars wrote: > Hi, > > since folks are playing with Midori's DCTCP patch, I wanted to make sure that > you were also aware of the patches that Aris did for PRR and NewCWV... >> >> Lars, There are no actual patches attached here. (Or the mailing-list dro

Re: Patches for RFC6937 and draft-ietf-tcpm-newcwv-00

2014-04-11 Thread hiren panchasara
On Fri, Apr 11, 2014 at 4:16 PM, hiren panchasara wrote: > On Fri, Apr 11, 2014 at 4:15 AM, Eggert, Lars wrote: >> Hi, >> >> since folks are playing with Midori's DCTCP patch, I wanted to make sure >> that you were also aware of the patches

Re: netisr observations

2014-04-11 Thread hiren panchasara
On Fri, Apr 11, 2014 at 11:30 AM, Patrick Kelsey wrote: > > The output of netstat -Q shows IP dispatch is set to default, which is > direct (NETISR_DISPATCH_DIRECT). That means each IP packet will be > processed on the same CPU that the Ethernet processing for that packet was > performed on, so C

Re: kern/184311: [bge] [panic] kernel panic with bge(4) on SunFire X2100

2014-05-19 Thread hiren panchasara
The following reply was made to PR kern/184311; it has been noted by GNATS. From: hiren panchasara To: bug-follo...@freebsd.org, benjamin.st...@ub.uni-tuebingen.de Cc: Subject: Re: kern/184311: [bge] [panic] kernel panic with bge(4) on SunFire X2100 Date: Mon, 19 May 2014 13:08:14 -0700 I

Re: kern/190102: [tcp] net.inet.tcp.drop_synfin=1 no longer works on FreeBSD 10+ [regression]

2014-05-28 Thread hiren panchasara
On Wed, May 28, 2014 at 10:46 PM, Eygene Ryabinkin wrote: > I assume that your pf(4) is enabled during these tests, you have > "scrub" statements in the ruleset and removing "scrub" will restore > the expected behaviour on 10.x? I can confirm that I see exactly what you are saying on a stable/10

Re: kern/190102: [tcp] net.inet.tcp.drop_synfin=1 no longer works on FreeBSD 10+ [regression]

2014-05-29 Thread hiren panchasara
The following reply was made to PR kern/190102; it has been noted by GNATS. From: hiren panchasara To: Eygene Ryabinkin Cc: FreeBSD GNATS followup , "freebsd-net@freebsd.org" Subject: Re: kern/190102: [tcp] net.inet.tcp.drop_synfin=1 no longer works on FreeBSD 10+ [regres

Re: kern/190102: [tcp] net.inet.tcp.drop_synfin=1 no longer works on FreeBSD 10+ [regression]

2014-05-30 Thread hiren panchasara
- bugs (as this is not related to it) On Wed, May 28, 2014 at 10:46 PM, Eygene Ryabinkin wrote: > clearing FIN bit for SYN packets was > the standard behaviour of pf since approximately at least 10 years, > > http://svnweb.freebsd.org/base/vendor-sys/pf/dist/sys/contrib/pf/net/pf_norm.c?view=

Re: ECN marking implenetation for dummynet

2014-06-01 Thread hiren panchasara
On Tue, Apr 8, 2014 at 9:14 PM, hiren panchasara wrote: > On Tue, Apr 8, 2014 at 8:46 PM, Adrian Chadd wrote: >> Hi! Cool! can you file a FreeBSD PR with this? > > I'm testing this patch right now. > > I will make sure it doesn't get lost. :-) Commi

Re: ECN marking implenetation for dummynet

2014-06-01 Thread hiren panchasara
On Sun, Jun 1, 2014 at 2:08 AM, Luigi Rizzo wrote: > > > On Sunday, June 1, 2014, hiren panchasara > wrote: >> >> On Tue, Apr 8, 2014 at 9:14 PM, hiren panchasara >> wrote: >> > On Tue, Apr 8, 2014 at 8:46 PM, Adrian Chadd wrote: >> >

Re: ECN marking implenetation for dummynet

2014-06-08 Thread hiren panchasara
On Sun, Jun 1, 2014 at 12:31 AM, hiren panchasara wrote: > On Tue, Apr 8, 2014 at 9:14 PM, hiren panchasara > wrote: >> On Tue, Apr 8, 2014 at 8:46 PM, Adrian Chadd wrote: >>> Hi! Cool! can you file a FreeBSD PR with this? >> >> I'm testing this patc

Re: ECN marking implenetation for dummynet

2014-06-09 Thread hiren panchasara
On Mon, Jun 9, 2014 at 1:31 AM, Lawrence Stewart wrote: > On 6/8/2014 9:07 PM, hiren panchasara wrote: >> I wish to MFC this change and following actual dctcp changes (which >> I'll commit to -head in coming weeks) to 10. >> >> Let me know if there is any objecti

Re: LEDBAT (RFC-6817)i n FreeBSD as mod_cc(9)?

2014-06-17 Thread hiren panchasara
On Mon, Jun 16, 2014 at 6:25 AM, Lev Serebryakov wrote: > Hello, Freebsd-net. > > It looks like, that some TCP connections could benefit from LEDBAT > (RFC-6871) cognestion control algorithm (not all, of course, it should not > be default). > > Also, it looks like Apple implements one > >

getpeername returning ENOTCONN for a connected socket

2014-06-20 Thread hiren panchasara
Reviving an old thread where Steve found this problem: A call to getpeername on a connected tcp socket returns ENOTCONN with no prior errors being reported by previous socket calls. Please look at http://lists.freebsd.org/pipermail/freebsd-net/2011-January/027647.html for more details. Here is a

Re: getpeername returning ENOTCONN for a connected socket

2014-06-21 Thread hiren panchasara
On Sat, Jun 21, 2014 at 9:00 AM, Sean Bruno wrote: > On Fri, 2014-06-20 at 16:21 -0700, hiren panchasara wrote: >> Reviving an old thread where Steve found this problem: A call to >> getpeername on a connected tcp socket returns ENOTCONN with no prior >> errors being report

Re: Add netbw option to systat

2014-07-02 Thread hiren panchasara
On Wed, Jul 2, 2014 at 4:50 PM, Bryan Venteicher wrote: > Awhile back, DragonlyFlyBSD added a netbw option to systat that I've ported > to FreeBSD and found handy at various times: > >netbw Display aggregate and per-connection TCP receive and transmit > rates. Only

Re: r256920 missing in stable/9 and releng/9.3

2014-07-07 Thread hiren panchasara
+ freebsd-net@, On Mon, Jul 7, 2014 at 4:37 AM, Harald Schmalzbauer wrote: > Bezüglich Jan Mikkelsen's Nachricht vom 24.06.2014 04:49 (localtime): >> Hi, >> >> I’m bringing 9.3-RC1 into our local Perforce depot and moving our local >> patches to 9.2 forward. >> >> I noticed that r256920 (changin

Re: r256920 missing in stable/9 and releng/9.3

2014-07-10 Thread hiren panchasara
On Thu, Jul 10, 2014 at 10:36 AM, John Baldwin wrote: > On Monday, July 07, 2014 12:58:53 pm hiren panchasara wrote: >> + freebsd-net@, >> >> On Mon, Jul 7, 2014 at 4:37 AM, Harald Schmalzbauer >> wrote: >> > Bezüglich Jan Mikkelsen's Nachricht v

Re: Why is r250764 not in 9.3?

2014-07-15 Thread hiren panchasara
+ Alexander On Tue, Jul 15, 2014 at 2:32 AM, Kajetan Staszkiewicz wrote: > The time has come to upgrade my routers to FreeBSD 9.3. > > While going through list of patches I had on 9.1, I've noticed that r248070 > got > into 9.3 but r250764 did not. Why is that? Probably just missed it. cheers,

UDP sendto() returning ENOBUFS - "No buffer space available"

2014-07-16 Thread hiren panchasara
Return values in sendto() manpage says: [ENOBUFS] The system was unable to allocate an internal buffer. The operation may succeed when buffers become avail- able. [ENOBUFS] The output queue for a network interface was ful

Re: UDP sendto() returning ENOBUFS - "No buffer space available"

2014-07-18 Thread hiren panchasara
On Wed, Jul 16, 2014 at 11:00 AM, Adrian Chadd wrote: > Hi! > > So the UDP transmit path is udp_usrreqs->pru_send() == udp_send() -> > udp_output() -> ip_output() > > udp_output() does do a M_PREPEND() which can return ENOBUFS. ip_output > can also return ENOBUFS. > > it doesn't look like the sock

Re: Why is r250764 not in 9.3?

2014-07-19 Thread hiren panchasara
On Sat, Jul 19, 2014 at 2:26 AM, Alexander V. Chernikov wrote: > On 15.07.2014 21:03, hiren panchasara wrote: >> >> + Alexander >> >> On Tue, Jul 15, 2014 at 2:32 AM, Kajetan Staszkiewicz >> wrote: >>> >>> The time has come to upgrade my route

Fwd: bridge interface type

2012-03-04 Thread hiren panchasara
Is this the correct mailer for such questions? -- Forwarded message -- From: hiren panchasara Date: Sat, Mar 3, 2012 at 12:47 AM Subject: bridge interface type To: freebsd-hack...@freebsd.org I created bridge1 this way: $ sudo ifconfig bridge create Password: bridge1

Re: bridge interface type

2012-03-05 Thread hiren panchasara
On Sun, Mar 4, 2012 at 11:14 PM, Andrew Thompson wrote: > Here is a patch that changes it but I do not know what may break. > Thanks a lot Andrew. So, someone might be relying on interface type of bridge being IFT_ETHER? Who can confirm if this is a good patch? > > Index: if_bridge.c > ==

Difference between "struct addr" and "struct addrs"

2012-03-05 Thread hiren panchasara
What is the difference between following 2 structs? /src/sys/net/if_var.h: struct ifaddr (from the comments seems like it contains a particular address (of probably many) information for an interface.) /src/include/ifaddrs.h: struct ifaddrs Thanks in advance, Hiren __

Re: Difference between "struct addr" and "struct addrs"

2012-03-05 Thread hiren panchasara
On Mon, Mar 5, 2012 at 10:57 PM, Sergey Kandaurov wrote: > struct ifaddr is the in-kernel representation of the interface address. > In kernel each network interface consists of a linked list of interface > addresses, described by ifaddr structures. > See man ifnet(9): http://man.freebsd.org/ifne

Re: Difference between "struct addr" and "struct addrs"

2012-03-06 Thread hiren panchasara
On Tue, Mar 6, 2012 at 12:03 AM, Sergey Kandaurov wrote: > On 6 March 2012 11:08, hiren panchasara > wrote: > > > > > > On Mon, Mar 5, 2012 at 10:57 PM, Sergey Kandaurov > wrote: > >> > >> struct ifaddr is the in-kernel representation of the i

Network Interface configuration

2012-03-06 Thread hiren panchasara
Do we store network interfaces configuration information in any file that survives reboots? (as Linux does it in /etc/network/interfaces) Only thing I could find was when an interface needs address from DHCP, rc.conf says ifconfig_em0="DHCP". I know getifaddrs() can get you list of interfaces but

Re: Network Interface configuration

2012-03-07 Thread hiren panchasara
On Wed, Mar 7, 2012 at 12:08 AM, Damien Fleuriot wrote: > > In /etc/rc.conf > > See the man page for rc.conf for a more detailed use. > See the small example bellow: > > ifconfig_re0="inet 192.168.0.30/24 up" > defaultrouter="192.168.0.254" > > These are the very basics ;) > Thanks Damien. I lo

Re: Network Interface configuration

2012-03-07 Thread hiren panchasara
On Wed, Mar 7, 2012 at 12:49 AM, Juli Mallett wrote: > In general, interfaces do > not come from the configuration files like rc.conf, however the way > that those interfaces are set up on boot is configured by files like > rc.conf. > Thanks Juli. So, does it mean that looking at getifaddrs() i

Use of network_interfaces in rc.conf

2012-03-12 Thread hiren panchasara
Looking at man rc.conf, network_interfaces (str) Set to the list of network interfaces to configure on this host or “AUTO” (the default) for all current interfaces. Setting the network_interfaces variable to anything other th

Re: Use of network_interfaces in rc.conf

2012-03-13 Thread hiren panchasara
Can someone please help? :-) On Mar 12, 2012 9:04 AM, "hiren panchasara" wrote: > Looking at man rc.conf, > > network_interfaces > (str) Set to the list of network interfaces to configure > on > this host or “AUTO” (the default)

Re: Use of network_interfaces in rc.conf

2012-03-13 Thread hiren panchasara
Thanks Chuck for getting back. I have a question inlined: On Tue, Mar 13, 2012 at 10:32 PM, Chuck Swiger wrote: > On Mar 13, 2012, at 10:18 PM, hiren panchasara wrote: > >> What difference does it make when I have each (separately) in my > rc.conf: > >> > >>

Re: Use of network_interfaces in rc.conf

2012-03-14 Thread hiren panchasara
On Wed, Mar 14, 2012 at 4:19 AM, Eugene Grosbein wrote: > 14.03.2012 13:19, hiren panchasara пишет: > > Thanks Chuck for getting back. I have a question inlined: > > > > On Tue, Mar 13, 2012 at 10:32 PM, Chuck Swiger wrote: > > > >> On Mar 13, 2012,

Re: Why wpa_supplicant doesn't start with ndis0 interface?

2012-09-14 Thread hiren panchasara
On Fri, Sep 14, 2012 at 11:32 AM, Yuri wrote: > On 09/14/2012 10:54, Glen Barber wrote: > >> Ok. Thanks for letting us know. >> > > Now wpa_supplicant starts and is operational, however '/etc/rc.d/netif > start' always issues this warning: > Starting wpa_supplicant > /etc/rc.d/wpa_supplicant: WA

Re: A problem on TCP in High RTT Environment.

2014-08-09 Thread hiren panchasara
On Sat, Aug 9, 2014 at 12:51 PM, Michael Tuexen wrote: > > On 09 Aug 2014, at 20:42, John-Mark Gurney wrote: > >> Niu Zhixiong wrote this message on Fri, Aug 08, 2014 at 20:34 +0800: >>> Dear all, >>> >>> Last month, I send problems related to FTP/TCP in a high RTT environment. >>> After that, I

Re: TCP Rx window auto sizing relies on TCP timestamp option?

2014-08-11 Thread hiren panchasara
On Mon, Aug 11, 2014 at 5:16 AM, Vlad Zolotarov wrote: > Hi, I have the most strange question about the TCP Rx window auto sizing > implementation in a FreeBSD networking stack. > When I looked at the FreeBSD code (hash > 9abce0e567c9a5a0520cdd94d5c633c7baf9a184) I noticed that > the mentioned abo

Re: A problem on TCP in High RTT Environment.

2014-08-11 Thread hiren panchasara
On Mon, Aug 11, 2014 at 12:59 PM, Michael Tuexen wrote: > On 11 Aug 2014, at 21:40, Eggert, Lars wrote: > >> Hi, >> >> On 2014-8-11, at 21:27, Michael Tuexen >> wrote: >>> On 11 Aug 2014, at 14:12, Eggert, Lars wrote: 544/57/8194 requests for mbufs denied (mbufs/clusters/mbuf+clusters) >>

Re: zero window and persist timer not set

2014-08-11 Thread hiren panchasara
On Mon, Aug 11, 2014 at 2:20 PM, John Baldwin wrote: > On Wednesday, August 06, 2014 5:25:38 pm Jeremiah Lott wrote: >> Hello, >> >> We've been seeing a problem where a tcp connection is stuck in a zero >> window condition and even though the client has opened more window space, >> our FreeBSD box

Regression test suite for TCP

2014-08-11 Thread hiren panchasara
I was looking for one and found https://wiki.freebsd.org/SummerOfCode2008#TCP.2FIP_regression_test_suite_.28tcptest.29 which is a good start but needs a lot of love (work). Please share if you are aware of any covering basic scenarios. cheers, Hiren ___

Re: SPAN port doesn't pick up locally generated traffic

2014-08-14 Thread hiren panchasara
On Tue, Aug 12, 2014 at 7:27 PM, Joseph Ward wrote: > I found a workaround that is acceptable. > > First, I want to thank Hiren Panchasara for recommending the work-around > that I hadn't thought about trying. > > For the archives and anyone struggling with the same issue:

Re: Regression test suite for TCP

2014-08-20 Thread hiren panchasara
working with > Robert for the connection groups work a couple years or so back. Thanks Anu. It looks pretty good but I am looking for something more on open source side. cheers, Hiren > > Regards, > -Anu > > On 8/11/14, 5:07 PM, "hiren panchasara" wrote: >

Re: igb "requests for mbufs denied"

2014-08-28 Thread hiren panchasara
On Thu, Aug 28, 2014 at 4:27 AM, Eggert, Lars wrote: > On 2014-8-28, at 10:31, Eggert, Lars wrote: >> 73/3831/3091 requests for mbufs denied (mbufs/clusters/mbuf+clusters) > > I just noticed that these are already there just after boot, and then also > don't seem to be increasing anymore (or onl

Re: Multipath TCP for FreeBSD v0.4

2014-09-16 Thread hiren panchasara
On Tue, Sep 16, 2014 at 3:48 PM, Sean Bruno wrote: > On Mon, 2014-09-08 at 11:32 +1000, Nigel Williams wrote: >> Hi, >> >> We recently released a new tech report "Design Overview of Multipath TCP >> version 0.4 for FreeBSD-11" [1]. The report provides some details on >> various aspects of the impl

igb update - 2.4.0 -> 2.4.2

2014-09-29 Thread hiren panchasara
Jack/ Eric, When do you guys plan to bring this in the tree? https://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=15815 cheers, Hiren ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, se

Re: [jci...@ulb.ac.be: Listen queue overflow: 8 already in queue awaiting acceptance]

2014-10-02 Thread hiren panchasara
On Thu, Oct 2, 2014 at 9:42 AM, Julien Cigar wrote: > sorry for cross-posting, I'm forwarding this as it seems that part of > the problem is also related to: > https://lists.freebsd.org/pipermail/freebsd-net/2014-September/039664.html Umm, this looks like a different problem than the subject of t

Re: [jci...@ulb.ac.be: Listen queue overflow: 8 already in queue awaiting acceptance]

2014-10-02 Thread hiren panchasara
On Thu, Oct 2, 2014 at 11:19 AM, Julien Cigar wrote: > On Thu, Oct 02, 2014 at 10:24:13AM -0700, hiren panchasara wrote: >> On Thu, Oct 2, 2014 at 9:42 AM, Julien Cigar wrote: >> > sorry for cross-posting, I'm forwarding this as it seems that part of >> >

Re: [jci...@ulb.ac.be: Listen queue overflow: 8 already in queue awaiting acceptance]

2014-10-03 Thread hiren panchasara
On Fri, Oct 3, 2014 at 1:01 AM, Julien Cigar wrote: > On Thu, Oct 02, 2014 at 04:36:49PM -0700, hiren panchasara wrote: >> On Thu, Oct 2, 2014 at 11:19 AM, Julien Cigar wrote: >> > On Thu, Oct 02, 2014 at 10:24:13AM -0700, hiren panchasara wrote: >> >> On Thu,

Re: FreeBSD && TCP stealth

2014-10-20 Thread hiren panchasara
I am not aware of any work but adding -net to get more "networking" eyeballs. On Mon, Oct 20, 2014 at 1:23 AM, Matthias Apitz wrote: > El día Monday, October 20, 2014 a las 09:25:28AM +0200, Matthias Apitz > escribió: > >> >> Hello, >> >> Is there any work started or in progress to implement TCP

Re: Media types in ifconfig

2014-10-20 Thread hiren panchasara
On Mon, Oct 20, 2014 at 4:53 PM, Eric Joyner wrote: > So, what are the two fields on the media line for? > > AFAICT, it looks like the first field is the media the user wants to use > (so the driver typically sets it to Ethernet autoselect by default?), and > the > second field is for the media th

Re: ntpd bind() failure: Can't assign requested address

2015-01-07 Thread hiren panchasara
I see this message on july 2014 time-frame -CURRENT. I tried to disable IPv6 in rc.conf via ipv6_activate_all_interfaces="NO" without success. Has this been fixed? Or any workarounds? ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mail

  1   2   3   >