Re: [RFC/PATCH] Optimize zone allocator synchronization

2008-01-29 Thread Don Porter
your comments and consideration, Don Porter On Sat, Nov 17, 2007 at 11:36:26PM -0600, Don Porter wrote: > Thank you all for your consideration and insightful responses to my > posting. I apologize for not responding sooner---I have been under a > deadline. > > It seems clear that f

Re: [RFC/PATCH] Optimize zone allocator synchronization

2007-11-17 Thread Don Porter
Thank you all for your consideration and insightful responses to my posting. I apologize for not responding sooner---I have been under a deadline. It seems clear that further investigation will be needed to understand these performance numbers better. To summarize, I understand that the followin

[RFC/PATCH] Optimize zone allocator synchronization

2007-11-04 Thread Don Porter
From: Donald E. Porter <[EMAIL PROTECTED]> In the bulk page allocation/free routines in mm/page_alloc.c, the zone lock is held across all iterations. For certain parallel workloads, I have found that releasing and reacquiring the lock for each iteration yields better performance, especially at hi

Re: [PATCH v12 00/18] Enable FSGSBASE instructions

2020-06-25 Thread Don Porter
On 5/29/20 11:27 AM, Wojtek Porczyk wrote: On Thu, May 28, 2020 at 11:38:01AM -0700, Andy Lutomirski wrote: One useful test for the actual kernel patches would be to run your SGX workload on a loaded core. That is, do something like taskset -c 0 graphene_thing and, simultaneously, write a trivi

Re: [PATCH v12 00/18] Enable FSGSBASE instructions

2020-06-25 Thread Don Porter
On 5/28/20 11:10 PM, Jarkko Sakkinen wrote: On Fri, May 29, 2020 at 06:07:23AM +0300, Jarkko Sakkinen wrote: Is there something then readily available to test such workload with SGX enabled? Or should I go patching Graphene? Not sure what I should take from that comment :-) For me the main poi

Re: [PATCH v12 00/18] Enable FSGSBASE instructions

2020-05-28 Thread Don Porter
On 5/26/20 6:51 PM, Sasha Levin wrote: On Tue, May 26, 2020 at 06:03:35PM -0400, Don Porter wrote: On 5/26/20 4:27 PM, Sasha Levin wrote: I'm really worried about the disconnect between how you view the current state of Graphene (and the industry) vs Intel and the various cloud prov

Re: [PATCH v12 00/18] Enable FSGSBASE instructions

2020-05-28 Thread Don Porter
Hi Thomas, On 5/28/20 6:29 AM, Thomas Gleixner wrote: Until recently, we were doing proof-of-concept research, not product development, and there are limited hours in the day. I also hasten to say that the product of research is an article, the software artifact serves as documentation of the e

Re: [PATCH v12 00/18] Enable FSGSBASE instructions

2020-05-26 Thread Don Porter
Hi Thomas, On 5/22/20 8:45 PM, Thomas Gleixner wrote: Don, Don Porter writes: On 5/19/20 12:48 PM, Jarkko Sakkinen wrote: On Tue, May 19, 2020 at 01:03:25AM +0200, Thomas Gleixner wrote: That justifies to write books which recommend to load a kernel module which creates a full

Re: [PATCH v12 00/18] Enable FSGSBASE instructions

2020-05-26 Thread Don Porter
On 5/26/20 4:27 PM, Sasha Levin wrote: On Tue, May 26, 2020 at 08:42:09AM -0400, Don Porter wrote: On 5/22/20 8:45 PM, Thomas Gleixner wrote: let me clarify, that despite your intentions:     - there is not a single word in any paper, slide deck, documentation   etc. which mentions that

Re: Re: [PATCH v12 00/18] Enable FSGSBASE instructions

2020-05-22 Thread Don Porter
easier to deprecate our module and just use a robust, in-kernel implementation. All the best, Don Porter Graphene Maintainer https://grapheneproject.io/

Re: [PATCH v12 00/18] Enable FSGSBASE instructions

2020-07-18 Thread Don Porter
On 6/25/20 5:37 PM, Jarkko Sakkinen wrote: Can unmodified Graphene-SGX used with these changes? Yes. I just double-checked that all of the needed changes have made it to master branch. I also re-tested on 5.8-rc1 with v13 of the patch, and it looks good.

Re: Linux FSGSBASE testing

2020-07-18 Thread Don Porter
On 6/20/20 11:59 AM, Andy Lutomirski wrote: Hi Stas- FSGSBASE support is queued up for Linux 5.9. Since you're one of the more exotic users of segmentation on Linux, is there any chance you could test it? The code is here: https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git/log/?h=