From mboxrd@z Thu Jan 1 00:00:00 1970 From: "michele.paolino" Subject: Re: generate random numbers Date: Fri, 12 Feb 2010 09:32:01 +0100 Message-ID: <14f366f91002120032uc08b7d6sb2283e10c9444bbf@mail.gmail.com> References: <14f366f91002111231reae2e41vc8f823b38e16a76b@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1426731716==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: James Harper Cc: George Dunlap , Xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1426731716== Content-Type: multipart/alternative; boundary=000325558bb23c136f047f631b2e --000325558bb23c136f047f631b2e Content-Type: text/plain; charset=ISO-8859-1 I need less than 10 bits at rate of 10 milliseconds. With a random number I will select the next VCPU to schedule. Michele On Fri, Feb 12, 2010 at 2:51 AM, James Harper wrote: > > > > Hi! > > I am interested in writing a scheduler for Xen for academic purposes. > I need > > to generate random numbers. > > Is it possible to generate random numbers in xen hypervisor > developement?If > > this is possible, how can I do it? > > > > How many bits do you random numbers need to be? > > At what rate do you need them? (10/second?, 1000000/second?) > > Would pseudo-random numbers do? If so, what repeat interval is > sufficient? > > James > --000325558bb23c136f047f631b2e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I need less than 10 bits at rate of 10 milliseconds. With a random number I= will select the next VCPU to schedule.

Michele

On Fri, Feb 12, 2010 at 2:51 AM, = James Harper <james.harper@bendigoit.com.au> wrote:
>
> Hi!
> I am interested in writing a scheduler for Xen for academic purposes.<= br> I need
> to generate random numbers.
> Is it possible to generate random numbers in xen hypervisor
developement?If
> this is possible, how can I do it?
>

How many bits do you random numbers need to be?

At what rate do you need them? (10/second?, 1000000/second?)

Would pseudo-random numbers do? If so, what repeat interval is
sufficient?

James

--000325558bb23c136f047f631b2e-- --===============1426731716== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1426731716==--