Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2013 21:17:34 +0300
From:      Eugen-Andrei Gavriloaie <shiretu@gmail.com>
To:        Paul "LeoNerd" Evans <leonerd@leonerd.org.uk>
Cc:        freebsd-hackers@freebsd.org, Adrian Chadd <adrian@freebsd.org>
Subject:   Re: Managing userland data pointers in kqueue/kevent
Message-ID:  <8A02C28F-89CB-4AE3-A91A-89565F041FDE@gmail.com>
In-Reply-To: <20130513191513.786f4f02@shy.leonerd.org.uk>
References:  <CCE4FFC4-F846-4F81-85EE-776B753C63C6@gmail.com> <20130513185357.1c552be5@shy.leonerd.org.uk> <CAJ-VmomQmPjtUhUo2%2BK=0Ychw-=qgawrZt3hnYeCPNNhA9T50A@mail.gmail.com> <CAJ-VmonKC_7J=aNgRntub9DN%2BEfQxrhMjstXHSJ634%2BaFemcLg@mail.gmail.com> <20130513191513.786f4f02@shy.leonerd.org.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_03F76616-3142-4A2B-81D4-269959FF0997
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

I also have a large project (crtmpserver) which makes heavy use of =
socket FDs (with my little Token workaround) and timers. Currently, can =
handle 2k streaming connections simultaneously, all of them full duplex.=20=


I would gladly patch it to use this new feature!!!

------
Eugen-Andrei Gavriloaie
Web: http://www.rtmpd.com

On May 13, 2013, at 9:15 PM, Paul "LeoNerd" Evans =
<leonerd@leonerd.org.uk> wrote:

> On Mon, 13 May 2013 11:10:44 -0700
> Adrian Chadd <adrian@freebsd.org> wrote:
>=20
>> ... also, want to code up a test implementation?
>>=20
>> And some stress testing cases to throw in the regression tree?
>=20
> I already mostly fixed Perl's IO::KQueue wrapper to use this
> hypothetical feature, I can easily provide that somewhere for someone
> to test it against. I actually wrote that bit first, before I found
> such a feature did not exist.
>=20
> That would allow some highly-parallel Perl code to use it. All the =
main
> Perl event systems can use IO::KQueue so that easily provides a lot of
> good test cases.
>=20
> --=20
> Paul "LeoNerd" Evans
>=20
> leonerd@leonerd.org.uk
> ICQ# 4135350       |  Registered Linux# 179460
> http://www.leonerd.org.uk/


--Apple-Mail=_03F76616-3142-4A2B-81D4-269959FF0997
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIO5jCCBJ0w
ggOFoAMCAQICEDQ96SusJzT/j8s0lPvMcFQwDQYJKoZIhvcNAQEFBQAwbzELMAkGA1UEBhMCU0Ux
FDASBgNVBAoTC0FkZFRydXN0IEFCMSYwJAYDVQQLEx1BZGRUcnVzdCBFeHRlcm5hbCBUVFAgTmV0
d29yazEiMCAGA1UEAxMZQWRkVHJ1c3QgRXh0ZXJuYWwgQ0EgUm9vdDAeFw0wNTA2MDcwODA5MTBa
Fw0yMDA1MzAxMDQ4MzhaMIGuMQswCQYDVQQGEwJVUzELMAkGA1UECBMCVVQxFzAVBgNVBAcTDlNh
bHQgTGFrZSBDaXR5MR4wHAYDVQQKExVUaGUgVVNFUlRSVVNUIE5ldHdvcmsxITAfBgNVBAsTGGh0
dHA6Ly93d3cudXNlcnRydXN0LmNvbTE2MDQGA1UEAxMtVVROLVVTRVJGaXJzdC1DbGllbnQgQXV0
aGVudGljYXRpb24gYW5kIEVtYWlsMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsjmF
pPJ9q0E7YkY3rs3BYHW8OWX5ShpHornMSMxqmNVNNRm5pELlzkniii8efNIxB8dOtINknS4p1aJk
xIW9hVE1eaROaJB7HHqkkqgX8pgV8pPMyaQylbsMTzC9mKALi+VuG6JG+ni8om+rWV6lL8/K2m2q
L+usobNqqrcuZzWLeeEeaYji5kbNoKXqvgvOdjp6Dpvq/NonWz1zHyLmSGHGTPNpsaguG7bUMSAs
vIKKjqQOpdeJQ/wWWq8dcdcRWdq6hw2v+v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SoTUca96f3IoxDRvQ5JjqmQlF
y0Vd+RDfhMhI4/O5tncpejAYw/Wi6bxrjgogKB8vQOTRT0Atj68hM+9Mv6ndt3+yqJsYjUebfi2t
jbGj0L4zcfvLVJkXTMCmNUpIAK9OCcbVg1ZF/e0U2BdkTzUkAO8WenskS1YE+Y4CbevRW0l6dXWX
O70bVX/Vatby4CeK6n8CUOV/UAuchcxokDSqafBsLMjzh2lS+avtHzptyVRB/vmKaVSzTBinI1K8
M/UeS9kmofUhjSfnf0f76NMsTkYjAAAAAAAA

--Apple-Mail=_03F76616-3142-4A2B-81D4-269959FF0997--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8A02C28F-89CB-4AE3-A91A-89565F041FDE>