Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Nov 2007 15:02:39 -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:  <20071109145827.W639@10.0.0.1>
In-Reply-To: <8cb6106e0711062136r18ca8e67sbdb4d4372e10e086@mail.gmail.com>
References:  <8cb6106e0710230902x4edf2c8eu2d912d5de1f5d4a2@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> <20071106171059.M544@10.0.0.1> <8cb6106e0711062136r18ca8e67sbdb4d4372e10e086@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--0-308221192-1194649359=:639
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

On Tue, 6 Nov 2007, Josh Carroll wrote:

>> 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.
>
> Here are the results. Looks like setting slice_min and slice to 7
> degraded performance for all work loads. Should I try any other
> settings for slice and slice_min?

Josh,  I had an interesting thought today.  What if the reason 4BSD is 
faster is because it distributes load more evenly across all packages 
because it distributes randomly?  ULE distributed across cores evenly but 
not packages.   Can you try the attached patch?  This also turns the 
default slice size down but does not contain the other context switch 
performance improvements.

Thanks,
Jeff

>
> ffmpeg:  1:39.91
>
> sysbench (4, 8, 12, 16 threads respectively):
>
> 2013.78
> 2157.6
> 2175.91
> 2184.16
>
> And buildworld time: 14m7.517s
>
> 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"
>
--0-308221192-1194649359=:639
Content-Type: TEXT/x-diff; charset=US-ASCII; name=ule.diff
Content-Transfer-Encoding: BASE64
Content-ID: <20071109150239.R639@10.0.0.1>
Content-Description: 
Content-Disposition: attachment; filename=ule.diff

SW5kZXg6IHNjaGVkX3VsZS5jDQo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09DQpS
Q1MgZmlsZTogL2hvbWUvbmN2cy9zcmMvc3lzL2tlcm4vc2NoZWRfdWxlLmMs
dg0KcmV0cmlldmluZyByZXZpc2lvbiAxLjIxNg0KZGlmZiAtdSAtcjEuMjE2
IHNjaGVkX3VsZS5jDQotLS0gc2NoZWRfdWxlLmMJMjMgT2N0IDIwMDcgMDA6
NTI6MjQgLTAwMDAJMS4yMTYNCisrKyBzY2hlZF91bGUuYwk5IE5vdiAyMDA3
IDIzOjAxOjIxIC0wMDAwDQpAQCAtMTEwNSw2ICsxMTA1LDkgQEANCiAJICog
TG9vayBmb3IgYW4gaWRsZSBncm91cC4NCiAJICovDQogCUNUUjEoS1RSX1VM
RSwgInRkcV9pZGxlICVYIiwgdGRxX2lkbGUpOw0KKwljcHUgPSBmZnModGRx
X2lkbGUgJiAweDVhNWE1YTVhKTsNCisJaWYgKGNwdSkNCisJCXJldHVybiAo
LS1jcHUpOw0KIAljcHUgPSBmZnModGRxX2lkbGUpOw0KIAlpZiAoY3B1KQ0K
IAkJcmV0dXJuICgtLWNwdSk7DQpAQCAtMTMyNCw3ICsxMzI3LDcgQEANCiAJ
ICogaW4gY2FzZSB3aGljaCBzY2hlZF9jbG9jaygpIGNhbGxlZCBiZWZvcmUg
c2NoZWRfaW5pdHRpY2tzKCkuDQogCSAqLw0KIAlyZWFsc3RhdGh6ID0gaHo7
DQotCXNjaGVkX3NsaWNlID0gKHJlYWxzdGF0aHovMTApOwkvKiB+MTAwbXMg
Ki8NCisJc2NoZWRfc2xpY2UgPSAocmVhbHN0YXRoei8xNSk7DQogCXRpY2tp
bmNyID0gMSA8PCBTQ0hFRF9USUNLX1NISUZUOw0KIA0KIAkvKiBBZGQgdGhy
ZWFkMCdzIGxvYWQgc2luY2UgaXQncyBydW5uaW5nLiAqLw0K

--0-308221192-1194649359=:639--



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