Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Nov 2007 17:12:02 -0800 (PST)
From:      Jeff Roberson <jroberson@chesapeake.net>
To:        Josh Carroll <josh.carroll@gmail.com>
Cc:        freebsd-performance@freebsd.org
Subject:   Re: ULE vs. 4BSD in RELENG_7
Message-ID:  <20071106171059.M544@10.0.0.1>
In-Reply-To: <8cb6106e0711050141g674a7733h53f7e6a20e75ad07@mail.gmail.com>
References:  <8cb6106e0710230902x4edf2c8eu2d912d5de1f5d4a2@mail.gmail.com> <8cb6106e0711021839i4714bdfbh74d412b3e14e808@mail.gmail.com> <8cb6106e0711031227t1e829969s2e6062e1db5167af@mail.gmail.com> <20071103121921.M544@10.0.0.1> <8cb6106e0711031416l4183e2beueb87fade0d56f504@mail.gmail.com> <20071103133711.Q544@10.0.0.1> <8cb6106e0711032221i2ecf1d59ge82f368d4162a827@mail.gmail.com> <20071104122546.S544@10.0.0.1> <8cb6106e0711041243s37ef92e3i9c5c79827f547dbb@mail.gmail.com> <20071104151722.M544@10.0.0.1> <8cb6106e0711050141g674a7733h53f7e6a20e75ad07@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 5 Nov 2007, Josh Carroll wrote:

>> Turns out the last patch I posted had a small compile error because I
>> edited it by hand to remove one section.  Here's an updated patch that
>> fixes that and changes the min/max slice values to something more
>> reasonable.  Slice min should be around 4 with a max of 12.
>>
>> Also looks like 4BSD's slice handling got more precise recently as well.
>> jhb changed it from using a callout to an actual counter based on runtime.
>
> ffmpeg runtime with the new patch: 1:39.09
>
> buildworld: 13:55.689
>
> Looks like things got a little worse with this patch. One thing of
> note, the slice_min and slice values are:
>
> kern.sched.slice_min: 5
> kern.sched.slice: 13

That's expected due to the fuzzy rounding of 128 / 10, etc.  Can you set 
slice_min and slice both equal to 7 and see if the numbers come out 
better than without the patch but with a slice value of 7?  Basically I'm 
trying to isolate the effects of the different slice handling in this 
patch from the other changes.

Thanks,
Jeff

>
> Did I do something wrong to cause the slice min to be 5 instead of 4
> and the max to be 13 instead of 12?
>
> Thanks,
> Josh
> _______________________________________________
> freebsd-performance@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-performance
> To unsubscribe, send any mail to "freebsd-performance-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071106171059.M544>