Date: Thu, 19 Jun 2014 18:25:38 -0700 From: John-Mark Gurney <jmg@funkthat.com> To: ???? <zganghanhan@foxmail.com> Cc: freebsd-net <freebsd-net@freebsd.org>, Andrey Zonov <zont@freebsd.org> Subject: Re: ?????? pow function in kernel space Message-ID: <20140620012538.GQ31367@funkthat.com> In-Reply-To: <tencent_159CA2BC7E46BD14532BB2CA@qq.com> References: <mailman.75.1403092802.14182.freebsd-net@freebsd.org> <tencent_34C23E3A7E7FDFEA644A3392@qq.com> <53A33448.9060909@FreeBSD.org> <tencent_159CA2BC7E46BD14532BB2CA@qq.com>
next in thread | previous in thread | raw e-mail | index | archive | help
???? wrote this message on Fri, Jun 20, 2014 at 09:00 +0800: > I am doing a research on D2TCP(http://dl.acm.org/citation.cfm?id=2342388), I just want to implement it into the linux kernel. When calculating the penalty function, it is p = a^d, where 0< a < 1 and 0< d < 1. Since the kernel only offers integer, so in my code, so I let a multiply 2^10. But I have no idea of calculating a^d when 0< d < 1. May be I want a approximate algorithm or other methods. Can you help me ? This is not a linux kernel list, please ask on a proper list... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140620012538.GQ31367>