From owner-freebsd-mips@FreeBSD.ORG Sun Feb 8 00:50:25 2015 Return-Path: Delivered-To: freebsd-mips@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 61823806 for ; Sun, 8 Feb 2015 00:50:25 +0000 (UTC) Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 429E7DFA for ; Sun, 8 Feb 2015 00:50:24 +0000 (UTC) Received: from [192.168.200.212] (unknown [50.136.155.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id 0BD321941DD for ; Sun, 8 Feb 2015 00:50:22 +0000 (UTC) Message-ID: <54D6B2CD.1010807@ignoranthack.me> Date: Sat, 07 Feb 2015 16:50:21 -0800 From: Sean Bruno Reply-To: sbruno@freebsd.org User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-mips@FreeBSD.org Subject: Including ucontext.h doesn't pull in register_t type Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Feb 2015 00:50:25 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Test builds of devel/libsigsegv for mips64 seem to fail as the include files don't seem to line up correctly. It looks like the standard ucontext.h doesn't seem to pull in the register_t type so that machine/ucontext.h can be included. This seems like a bug somehow, but I'm not quite sure what the least damaging way of solving it should be. I'll look at adding _types.h to somewhere in the port include chain, but I thought I'd at least mention this here. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D> Building for libsigsegv-2.10_1 /nxb-bin/usr/bin/make TARGETSTACK=3D" all" all-recursive Making all in src /bin/sh ../libtool --tag=3DCC --mode=3Dcompile /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I. -I. -O -pipe -G0 -fno-strict-aliasing -c -o handler.lo handler.c libtool: compile: /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I. -I. -O -pipe -G0 -fno-strict-aliasing -c handler.c -fPIC -DPIC -o =2Elibs/handler.o In file included from /usr/include/ucontext.h:35, from sigsegv.h:21, from handler-unix.c:22, from handler.c:20: /usr/include/machine/ucontext.h:53: error: expected specifier-qualifier-list before 'register_t' *** Error code 1 Stop. make[3]: stopped in /wrkdirs/usr/ports/devel/libsigsegv/work/libsigsegv-2.10/src *** Error code 1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJU1rLLXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5kzk4IAJVIUVPTogpQu7Pj6iieazEB /8w4bqFiSio6dYXyJKdRzEfRivndo04st4L8l5g0X1KKklKZZ7i54ebjAuI9ioWo EHlJXnZzkIGaSpFmvwpNBHjEbBPk/GpWo/hNpC9qAlwstNHQeuyT7qCxYbAAnHmw Ppy/AtCOS5ZXDIusH/KFedmKP+KLMXoq6NavyXSUbljr89YERmLmxTIbZbvu6oy2 14HWWgnb8KVo2sVHVGBB91QGHNJm/1mGBNI9v2Oq20WK9EZoBupu4zrhrOUMgq3p GKj7adAubZynLyyXYmBQ0yjKXrNY73XkHpzIs36FdR+0baUYs0UhFOFdLNJjFZ8=3D =3DqASQ -----END PGP SIGNATURE----- From owner-freebsd-mips@FreeBSD.ORG Sun Feb 8 12:49:10 2015 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D72BF759 for ; Sun, 8 Feb 2015 12:49:10 +0000 (UTC) Received: from saturn.lyxys.ka.sub.org (saturn.lyxys.ka.sub.org [217.29.35.151]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 604196BE for ; Sun, 8 Feb 2015 12:49:09 +0000 (UTC) Received: from juno.lyxys.ka.sub.org (juno.lyx [IPv6:fd2a:89ca:7d54:0:240:caff:fe92:4f47]) by saturn.lyxys.ka.sub.org (8.14.9/8.14.9) with ESMTP id t18CmsL5056120 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Sun, 8 Feb 2015 13:48:54 +0100 (CET) (envelope-from wolfgang@lyxys.ka.sub.org) Received: from juno.lyxys.ka.sub.org (localhost [127.0.0.1]) by juno.lyxys.ka.sub.org (8.14.9/8.14.9) with ESMTP id t18D0ZP9081055 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sun, 8 Feb 2015 14:00:35 +0100 (CET) (envelope-from wolfgang@lyxys.ka.sub.org) Received: (from wolfgang@localhost) by juno.lyxys.ka.sub.org (8.14.9/8.14.9/Submit) id t18D0Zpe081054 for freebsd-mips@freebsd.org; Sun, 8 Feb 2015 14:00:35 +0100 (CET) (envelope-from wolfgang@lyxys.ka.sub.org) X-Authentication-Warning: juno.lyx: wolfgang set sender to wolfgang@lyxys.ka.sub.org using -f Date: Sun, 8 Feb 2015 14:00:34 +0100 From: Wolfgang Zenker To: freebsd-mips@freebsd.org Subject: IPv6 throughput only half of IPv4 on ERL Message-ID: <20150208130034.GA80972@lyxys.ka.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: private site User-Agent: Mutt/1.5.23 (2014-03-12) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (saturn.lyxys.ka.sub.org [IPv6:fd2a:89ca:7d54:1:200:24ff:feca:b4cc]); Sun, 08 Feb 2015 13:48:54 +0100 (CET) X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Feb 2015 12:49:10 -0000 Hi, I just started to experiment with FreeBSD MIPS, using an Edge Router Lite as testmachine, running a recent 10.1-STABLE. To test network throughput, I enabled the discard port in inetd and transfered a large file there, via both IPv4 and IPv6. Results: $ dd if=vc.tar bs=1m|nc -4 pomona.lyx 9 552+1 records in 552+1 records out 579002368 bytes transferred in 21.193134 secs (27320281 bytes/sec) $ dd if=vc.tar bs=1m|nc -6 pomona.lyx 9 552+1 records in 552+1 records out 579002368 bytes transferred in 38.638252 secs (14985211 bytes/sec) Testing the same against an Atom-based machine on the same switch took 8.725300 secs (v4) and 10.364100 secs (v6), so the difference between both protocol stacks is much smaller on the Atom target. Any ideas what is the cause of this huge difference on the MIPS platform? Just curious ... Wolfgang From owner-freebsd-mips@FreeBSD.ORG Sun Feb 8 16:17:57 2015 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F389C957 for ; Sun, 8 Feb 2015 16:17:56 +0000 (UTC) Received: from mail-ig0-x22b.google.com (mail-ig0-x22b.google.com [IPv6:2607:f8b0:4001:c05::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B9D6BAE8 for ; Sun, 8 Feb 2015 16:17:56 +0000 (UTC) Received: by mail-ig0-f171.google.com with SMTP id h15so11936758igd.4 for ; Sun, 08 Feb 2015 08:17:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=OVbyDXgSmvnRnZ03rqjqozkAhwfDXzXY39qk4QKW8I4=; b=JoP0908PiZL674iP8IBQdeh0hclCdPmoeFRa6+pUhOKFY4jdEfHVSUqDuZA+TAQe4h h7mMHgKXxG0zPOPYaLpzkLHVkPU0IBZzv1aR97Z2eEAnQQ3QWYbGLeubUBdXqZtsOdAm CbMRfSlXM45/p7UeIdzZ9h4IWMOF3rVANYJsfy8brxrudaR7Yrr5K9KgtSP/YXgQW6iy /Mfw0YNETKaHMkbZY5TTz4sQqrbMWMiVSR/gRv8LFLnCzyzRrz5pbScgVDrNrVbm+mE3 u8y8RG7JCVT1D6NXQQ4KRb9el9BxwHtqHZhq+u2m4isZvUph/hAUM0RnLRBwQ9YkXiKF 20aA== MIME-Version: 1.0 X-Received: by 10.50.66.170 with SMTP id g10mr7238251igt.49.1423412275356; Sun, 08 Feb 2015 08:17:55 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.36.17.7 with HTTP; Sun, 8 Feb 2015 08:17:55 -0800 (PST) In-Reply-To: <20150208130034.GA80972@lyxys.ka.sub.org> References: <20150208130034.GA80972@lyxys.ka.sub.org> Date: Sun, 8 Feb 2015 08:17:55 -0800 X-Google-Sender-Auth: W-XkXG3IoVgJI5-AnZ8qHcNoj0k Message-ID: Subject: Re: IPv6 throughput only half of IPv4 on ERL From: Adrian Chadd To: Wolfgang Zenker Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-mips@freebsd.org" X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Feb 2015 16:17:57 -0000 everything's bigger in ipv6? Well, try kldload hwpmc and see if pmcstat works for you. I haven't tried it on the Octeon hardware. That'll be useful for chasing down why it's chewing CPU. -adrian On 8 February 2015 at 05:00, Wolfgang Zenker wrote: > Hi, > > I just started to experiment with FreeBSD MIPS, using an Edge Router Lite > as testmachine, running a recent 10.1-STABLE. > > To test network throughput, I enabled the discard port in inetd and transfered > a large file there, via both IPv4 and IPv6. > > Results: > $ dd if=vc.tar bs=1m|nc -4 pomona.lyx 9 > 552+1 records in > 552+1 records out > 579002368 bytes transferred in 21.193134 secs (27320281 bytes/sec) > $ dd if=vc.tar bs=1m|nc -6 pomona.lyx 9 > 552+1 records in > 552+1 records out > 579002368 bytes transferred in 38.638252 secs (14985211 bytes/sec) > > Testing the same against an Atom-based machine on the same switch > took 8.725300 secs (v4) and 10.364100 secs (v6), so the difference > between both protocol stacks is much smaller on the Atom target. > > Any ideas what is the cause of this huge difference on the MIPS > platform? Just curious ... > > Wolfgang > _______________________________________________ > freebsd-mips@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mips > To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" From owner-freebsd-mips@FreeBSD.ORG Mon Feb 9 03:52:32 2015 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 16473AC3 for ; Mon, 9 Feb 2015 03:52:32 +0000 (UTC) Received: from mail.umail10.cn4e.com (umail10.cn4e.com [219.239.95.79]) by mx1.freebsd.org (Postfix) with ESMTP id 3DD70D28 for ; Mon, 9 Feb 2015 03:52:31 +0000 (UTC) Received: from smail116.cn4e.com (smail116.cn4e.com [124.202.153.116]) by mail.umail10.cn4e.com (Postfix) with ESMTP id 5DF1FFE44A0 for ; Mon, 9 Feb 2015 11:52:30 +0800 (CST) X-Bordeaux-Score: 550 X-Spam-Flag: NO Received: from localhost([180.173.154.98]) by smail116.cn4e.com(5.0.0.3a) with ESMTP id 3593040A0006.21.1423453950.44046; Mon, 09 Feb 2015 11:52:30 +0800 (CST) X-BQId: 3593040A0006.21.1423453950.44046.1 X-Bordeaux-Type: AUTHSMTP X-35BMId: 3593040A0006.21.1423453950.44046.1 X-Bordeaux-LOG: SA: TSMF, 3-550-1-83886336,3-550-1-83886336,3-550-1-83886336 eJzt2U9rwjAYBnAv22Xbd8hxOxhS/0/GULs6xWpEO9g1xqiFtpGmBT+qh32DfYMdxlrWwyhMvNj I9v5KeSm8h+f2kPSi9O0T752f06STiWU6yGgRbDSr2KjX8H2rBP6JtyN2lM9czzAamAc1gbn0kT UfO1PUk+FSsHjXqdZv65gkT5XdnTwxAKBol9nM94c1sCmyJWfeQKpIWzygyccRO3R08hgAgDN2l c18f3RfnAGy6fNwoi0a0Og9eSu4icmBnW4cbUQQuZxFrgyQijkXSq1ir6iQAACtrrOZ749xd2ij /oyO2+jBZwFbi5A0Ojwoi0jwTXpZ8agtMzi99PzBkj7YHjh7VgghlcISAQDOzU028/0xM6cOcmj SHqtQiIValn13qzr95KM3f8IyXEN//GVpf8zMtvXq/L5DR0jsIhEGzEPpr5CF3BWWDwCg3xd6GG Uk X-Bordeaux-Detail: eJxzsrIKjgwOcfW1snIGI0MDYysrE3MrK1MDLidMSRMrKyMDEEaR9YDIGhpaWVkCZY1RZYHIEaz FwAgoZ2WlkVeak6OJZrofyHQgAFLmMCUAqLwmTg== X-Bordeaux-Action-libantispam.so: Action: Relay[NEXT,10000,550:550:550] X-Bordeaux-Action-libspamsa.so: X-Bordeaux-Action-libclamav.so: X-Bordeaux-Action-libsmtpext.so: Message-ID: <2086869621378A2CC0A3C17A8E071F2C3149D8EC75@CN-ETECH.COM> From: "Helen" Reply-To: To: Date: Mon, 9 Feb 2015 11:49:44 +0800 MIME-Version: 1.0 X-Priority: 3 X-Mailer: Joinf MailSystem 8.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2015 03:52:32 -0000 RGVhciBteSBmcmllbmQ7DQpHb29kIGRheS4NClRoaXMgaXMgSGVsZW4gZnJvbSBFemxpZmUgQ28u LCBMdGQsIGVzdGFibGlzaGVkIGluIDIwMDMuDQpJIGtub3cgeW91IGZyb20gdGhlIGludGVybmV0 Lg0KV2UgYXJlIG9uZSBvZiB0aGUgbGVhZGluZyBjb21wYW5pZXMgaW4gcmVzZWFyY2ggJmRldmVs b3BtZW50LCBwcm9kdWN0aW9uIGFuZCBzYWxlcyBvZiBib2R5IHdhcm1lciwgaGFuZCB3YXJtZXIs IGZvb3Qgd2FybWVyLCB0b2Ugd2FybWVyLCBoZWF0aW5nLCBsaWZlIGdpZnQgcHJvZHVjdHMgaW4g Q2hpbmEuIA0KV2UgaGF2ZSAxMDAgd29ya2VycyBhbmQgYW5udWFsIHByb2R1Y3Rpb24gY2FwYWNp dHkgb2YgbGlmZSBwcm9kdWN0cyBoYXMgcmVhY2hlZCAxNTAsIDAwMCwgMDAwIHBpZWNlcy4NCldl IGhhdmUgZGlmZmVyZW50IGFzc2VtYmx5IGxpbmVzIHRoYXQgYXJlIHN1cGVydmlzZWQgYW5kIG1h bmFnZWQgYnkgcHJvZmVzc2lvbmFsIGRlc2lnbmVycyBhbmQgbWFuYWdlcnMuDQpPdXIgYWltIGlz IHRvIG1ha2UgeW91ciBsaWZlIGVhc3kgYW5kIGhhcHB5IHdpdGggaGlnaCB0ZWNobm9sb2d5Lg0K T3VyIHByb2R1Y3RzIGhhcyBiZWVuIGF3YXJkZWQgd2l0aCBDaGluZXNlLCBVU0EsIEdlcm1hbnks IGV0YyAtICBjZXJ0aWZpY2F0aW9ucy4NCldlIHN0aWxsIG1ha2UgZWZmb3J0cyB0byBzdGVhZGls eSBwcm9ncmVzc2lvbiBhbmQgY3JlYXRpb24gb2YgbmV3IHByb2R1Y3RzLg0KV2UgcHJvdmlkZSBo aWdoIHF1YWxpdHkgcHJvZHVjdCB3aXRoIGNvbXBldGl0aXZlIHByaWNlIGFuZCBwcm9mZXNzaW9u YWwgc2VydmljZS4NCkZyZWUgc2FtcGxlIGlzIGZvciB5b3VyIHRlc3RpbmcgLg0KDQoNCkNvdWxk IHlvdSBnaXZlIHVzIGEgY2hhbmNlIHRvIHNlcnZlIHlvdSBpbiBjb2xvciwgY2F0Y2hlciwgc3Bv cnQgdG93ZWwsIGRhaWx5IGxpZmUgcHJvZHVjdHM/DQpMb29raW5nIGZvcndhcmQgIHRvIHlvdXIg a2luZGx5IHJlcGx5Lg0KDQoNCkJlc3QgUmVnYXJkcyENCj09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0NCkhlbGVuIFpoYW5n IA0KU2hhbmdoYWkgRXpsaWZlIENvLiBMdGQNCkFkZDogTm8uNDc5IENodW5kb25nIHJvYWQsTWlu aGFuZyBkaXN0cmljdCwgU2hhbmdoYWkgMjAxMTA4LCBDaGluYQ0KVGVsOjAwODYgMjE1NDcxMDAx MC04MDY3DQpGYXg6MDA4NiAyMSA2MTI5IDQ3NzkNCk1vYihWaWJlci9XaGF0c2FwcCk6IDAwODYg MTU4MDE3OTUwOTQNClNreXBlIElEOiBzaC5zZmZpbHRlY2gzDQpFbWFpbDogc2FsZXMyQGV6bGlm ZWNuLmNvbQ== From owner-freebsd-mips@FreeBSD.ORG Tue Feb 10 20:29:27 2015 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6EB538C2 for ; Tue, 10 Feb 2015 20:29:27 +0000 (UTC) Received: from saturn.lyxys.ka.sub.org (saturn.lyxys.ka.sub.org [217.29.35.151]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EB6C91DD for ; Tue, 10 Feb 2015 20:29:26 +0000 (UTC) Received: from juno.lyxys.ka.sub.org (juno.lyx [IPv6:fd2a:89ca:7d54:0:240:caff:fe92:4f47]) by saturn.lyxys.ka.sub.org (8.14.9/8.14.9) with ESMTP id t1AKT17j070964 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Tue, 10 Feb 2015 21:29:01 +0100 (CET) (envelope-from wolfgang@lyxys.ka.sub.org) Received: from juno.lyxys.ka.sub.org (localhost [127.0.0.1]) by juno.lyxys.ka.sub.org (8.14.9/8.14.9) with ESMTP id t1AKfdYQ000811 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 10 Feb 2015 21:41:39 +0100 (CET) (envelope-from wolfgang@lyxys.ka.sub.org) Received: (from wolfgang@localhost) by juno.lyxys.ka.sub.org (8.14.9/8.14.9/Submit) id t1AKfcll000810 for freebsd-mips@freebsd.org; Tue, 10 Feb 2015 21:41:38 +0100 (CET) (envelope-from wolfgang@lyxys.ka.sub.org) X-Authentication-Warning: juno.lyx: wolfgang set sender to wolfgang@lyxys.ka.sub.org using -f Date: Tue, 10 Feb 2015 21:41:38 +0100 From: Wolfgang Zenker To: "freebsd-mips@freebsd.org" Subject: Re: IPv6 throughput only half of IPv4 on ERL Message-ID: <20150210204138.GA688@lyxys.ka.sub.org> References: <20150208130034.GA80972@lyxys.ka.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: private site User-Agent: Mutt/1.5.23 (2014-03-12) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (saturn.lyxys.ka.sub.org [IPv6:fd2a:89ca:7d54:1:200:24ff:feca:b4cc]); Tue, 10 Feb 2015 21:29:02 +0100 (CET) X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2015 20:29:27 -0000 * Adrian Chadd [150208 17:17]: > everything's bigger in ipv6? true, but its bigger on other platforms as well :-) > Well, try kldload hwpmc and see if pmcstat works for you. I haven't > tried it on the Octeon hardware. That'll be useful for chasing down > why it's chewing CPU. I built a kernel with device hwpmc built in, but so far not much success getting it to do anything except killing the machine. In dmesg I find this line: hwpmc: SOFT/16/64/0x67 OCTEON/2/64/0x1ff so hwpmc seems to be indeed to be available. As I have no clue so far how to use pmcstat, I tried one of the example commands from the man page (pmcstat -S instructions -O /tmp/sample.out) which resulted in cpu:1-Trap cause = 2 (TLB miss (load or instr. fetch) - kernel mode) panic: trap cpuid = 1 followed by automatic reboot. Maybe hwpmc is not usable on this platform so far. Wolfgang From owner-freebsd-mips@FreeBSD.ORG Thu Feb 12 18:36:52 2015 Return-Path: Delivered-To: freebsd-mips@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B1AD9DD3 for ; Thu, 12 Feb 2015 18:36:52 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 96F15A06 for ; Thu, 12 Feb 2015 18:36:52 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t1CIaqod021327 for ; Thu, 12 Feb 2015 18:36:52 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-mips@FreeBSD.org Subject: [Bug 197577] [mips] devel/nspr has no mips/mips64 knowledge Date: Thu, 12 Feb 2015 18:36:52 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gecko@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform bug_file_loc op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2015 18:36:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197577 Bug ID: 197577 Summary: [mips] devel/nspr has no mips/mips64 knowledge Product: Ports & Packages Version: Latest Hardware: mips URL: http://dirty.ysv.freebsd.org/data/11mips64-11mips32/20 15-02-12_17h12m47s/logs/errors/nspr-4.10.8.log OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: gecko@FreeBSD.org Reporter: sbruno@FreeBSD.org CC: freebsd-mips@FreeBSD.org Flags: maintainer-feedback?(gecko@FreeBSD.org) Assignee: gecko@FreeBSD.org gmake[4]: Entering directory '/wrkdirs/usr/ports/devel/nspr/work/nspr-4.10.8/nspr/build/pr/src/io' /nxb-bin/usr/bin/cc -o prfdcach.o -c -fvisibility=hidden -O -pipe -G0 -fno-strict-aliasing -ansi -Wall -fPIC -UDEBUG -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DNDEBUG=1 -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 -DHAVE_VISIBILITY_PRAGMA=1 -DXP_UNIX=1 -DFREEBSD=1 -DHAVE_BSD_FLOCK=1 -DHAVE_SOCKLEN_T=1 -DHAVE_DLADDR=1 -DHAVE_LCHOWN=1 -DHAVE_SETPRIORITY=1 -DHAVE_STRERROR=1 -DHAVE_SYSCALL=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DFORCE_PR_LOG -D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM -D_NSPR_BUILD_ -I../../../dist/include/nspr -I/wrkdirs/usr/ports/devel/nspr/work/nspr-4.10.8/nspr/pr/include -I/wrkdirs/usr/ports/devel/nspr/work/nspr-4.10.8/nspr/pr/include/private /wrkdirs/usr/ports/devel/nspr/work/nspr-4.10.8/nspr/pr/src/io/prfdcach.c In file included from ../../../dist/include/nspr/prtypes.h:26, from ../../../dist/include/nspr/pratom.h:14, from ../../../dist/include/nspr/nspr.h:9, from /wrkdirs/usr/ports/devel/nspr/work/nspr-4.10.8/nspr/pr/include/private/primpl.h:39, from /wrkdirs/usr/ports/devel/nspr/work/nspr-4.10.8/nspr/pr/src/io/prfdcach.c:6: ../../../dist/include/nspr/prcpucfg.h:397:2: error: #error "Unknown CPU architecture" In file included from ../../../dist/include/nspr/pratom.h:14, from ../../../dist/include/nspr/nspr.h:9, from /wrkdirs/usr/ports/devel/nspr/work/nspr-4.10.8/nspr/pr/include/private/primpl.h:39, from /wrkdirs/usr/ports/devel/nspr/work/nspr-4.10.8/nspr/pr/src/io/prfdcach.c:6: ../../../dist/include/nspr/prtypes.h:263:2: error: #error No suitable type for PRInt8/PRUint8 ../../../dist/include/nspr/prtypes.h:288:2: error: #error No suitable type for PRInt16/PRUint16 ../../../dist/include/nspr/prtypes.h:320:2: error: #error No suitable type for PRInt32/PRUint32 ../../../dist/include/nspr/prtypes.h:413:2: error: #error 'sizeof(int)' not sufficient for platform use In file included from ../../../dist/include/nspr/pratom.h:14, from ../../../dist/include/nspr/nspr.h:9, from /wrkdirs/usr/ports/devel/nspr/work/nspr-4.10.8/nspr/pr/include/private/primpl.h:39, from /wrkdirs/usr/ports/devel/nspr/work/nspr-4.10.8/nspr/pr/src/io/prfdcach.c:6: ../../../dist/include/nspr/prtypes.h:436: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PROffset32' ../../../dist/include/nspr/prtypes.h:467: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PRBool' ../../../dist/include/nspr/prtypes.h:477: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PRPackedBool' ../../../dist/include/nspr/prtypes.h:490: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PRUnichar' In file included from ../../../dist/include/nspr/prtypes.h:549, from ../../../dist/include/nspr/pratom.h:14, from ../../../dist/include/nspr/nspr.h:9, from /wrkdirs/usr/ports/devel/nspr/work/nspr-4.10.8/nspr/pr/include/private/primpl.h:39, from /wrkdirs/usr/ports/devel/nspr/work/nspr-4.10.8/nspr/pr/src/io/prfdcach.c:6: ../../../dist/include/nspr/obsolete/protypes.h:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uintn' ../../../dist/include/nspr/obsolete/protypes.h:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'intn' In file included from ../../../dist/include/nspr/prtypes.h:549, from ../../../dist/include/nspr/pratom.h:14, from ../../../dist/include/nspr/nspr.h:9, from /wrkdirs/usr/ports/devel/nspr/work/nspr-4.10.8/nspr/pr/include/private/primpl.h:39, from /wrkdirs/usr/ports/devel/nspr/work/nspr-4.10.8/nspr/pr/src/io/prfdcach.c:6: ../../../dist/include/nspr/obsolete/protypes.h:77: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint32' ../../../dist/include/nspr/obsolete/protypes.h:88: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint16' ../../../dist/include/nspr/obsolete/protypes.h:96: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint8' ../../../dist/include/nspr/obsolete/protypes.h:114: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int32' ../../../dist/include/nspr/obsolete/protypes.h:126: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int16' ../../../dist/include/nspr/obsolete/protypes.h:135: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int8' In file included from ../../../dist/include/nspr/nspr.h:9, from /wrkdirs/usr/ports/devel/nspr/work/nspr-4.10.8/nspr/pr/include/private/primpl.h:39, from /wrkdirs/usr/ports/devel/nspr/work/nspr-4.10.8/nspr/pr/src/io/prfdcach.c:6: ../../../dist/include/nspr/pratom.h:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PR_AtomicIncrement' ../../../dist/include/nspr/pratom.h:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PR_AtomicDecrement' ../../../dist/include/nspr/pratom.h:51: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PR_AtomicSet' ../../../dist/include/nspr/pratom.h:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PR_AtomicAdd' --- Comment #1 from Bugzilla Automation --- Auto-assigned to maintainer gecko@FreeBSD.org -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-mips@FreeBSD.ORG Fri Feb 13 02:09:16 2015 Return-Path: Delivered-To: freebsd-mips@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7C37713C for ; Fri, 13 Feb 2015 02:09:16 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6260AF85 for ; Fri, 13 Feb 2015 02:09:16 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t1D29G1Q042509 for ; Fri, 13 Feb 2015 02:09:16 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-mips@FreeBSD.org Subject: [Bug 197577] devel/nspr: Has no mips/mips64 knowledge Date: Fri, 13 Feb 2015 02:09:16 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gecko@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: keywords short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2015 02:09:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197577 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |needs-qa Summary|[mips] devel/nspr has no |devel/nspr: Has no |mips/mips64 knowledge |mips/mips64 knowledge -- You are receiving this mail because: You are on the CC list for the bug.