All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
To: eak@us.ibm.com
Cc: xen-devel@lists.xensource.com
Subject: Re: eliminating 166G limit (was Re: Problem with nr_nodes on large memory NUMA machine)
Date: Thu, 06 Dec 2007 13:40:25 +0000	[thread overview]
Message-ID: <C37DAC49.197EB%Keir.Fraser@cl.cam.ac.uk> (raw)
In-Reply-To: <47545DE2.2080509@us.ibm.com>

Try xen-unstable changeset 16548.

 -- Keir

On 3/12/07 19:49, "beth kon" <eak@us.ibm.com> wrote:

> Has there been any more thought on this subject? The discussion seems to
> have stalled, and we're hoping to find a way past this 166G limit...
> 
> Jan Beulich wrote:
> 
>>>>> Keir Fraser <Keir.Fraser@cl.cam.ac.uk> 27.11.07 10:21 >>>
>>>>>        
>>>>> 
>>> On 27/11/07 09:00, "Jan Beulich" <jbeulich@novell.com> wrote:
>>> 
>>>    
>>> 
>>>>> I don't get how your netback approach works. The pages we transfer do not
>>>>> originate from netback, so it has little control over them. And, even if
>>>>> it
>>>>> did, when we allocate pages for network receive we do not know which
>>>>> domain's packet will end up in each buffer.
>>>>>        
>>>>> 
>>>> Oh, right, I mixed up old_mfn and new_mfn in netbk_gop_frag(). Nevertheless
>>>> netback could take care of this by doing the copying there, as at that
>>>> point i
>>>> already knows the destination domain.
>>>>      
>>>> 
>>> You may not know constraints on that domain's max_mfn though. We could add
>>> an interface to Xen to interrogate that, but generally it's not something we
>>> probably want to expose outside of Xen and the guest itself.
>>>    
>>> 
>> 
>> What constraints other than the guest's address size influence its max_mfn?
>> Of course, if there's anything beyond the address size, then having a way to
>> obtain the constraint explicitly would be desirable. But otherwise (and as
>> fallback) using 37 bits (128G) seems quite reasonable.
>> 
>>  
>> 
>>>>> Personally I think doing it in Xen is perfectly good enough for supporting
>>>>> this very out-of-date network receive mechanism.
>>>>>        
>>>>> 
>>>> I'm not just concerned about netback here. The interface exists, and other
>>>> users might show up and/or exist already. Whether it would be acceptable
>>>> for them to do allocation and copying is unknown. You'd therefore either
>>>> need a way to prevent future users of the transfer mechanism, or set proper
>>>> requirements on its use. I think that placing extra requirements on the
>>>> user
>>>> of the interface is better than introducing extra (possibly hard to
>>>> reproduce/
>>>> recognize/debug) possibilities of failure.
>>>>      
>>>> 
>>> The interface is obsolete.
>>>    
>>> 
>> 
>> Then it should be clearly indicated as such, e.g. by a mechanism similar to
>> deprecated_irq_flag() in Linux 2.6.22. And as a result, its use in netback
>> should
>> then probably be conditional upon an extra config option, which could at once
>> be used to provide a note to Xen that the feature isn't being used so that
>> the
>> function could return -ENOSYS and the clipping could be avoided/reverted.
>> 
>> Jan
>> 
>> 
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@lists.xensource.com
>> http://lists.xensource.com/xen-devel
>>  
>> 
> 

  parent reply	other threads:[~2007-12-06 13:40 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-27  8:43 eliminating 166G limit (was Re: Problem with nr_nodes on large memory NUMA machine) Jan Beulich
2007-11-27  8:56 ` Keir Fraser
2007-11-27  9:00   ` Jan Beulich
2007-11-27  9:21     ` Keir Fraser
2007-11-27  9:51       ` Jan Beulich
2007-12-03 19:49         ` beth kon
2007-12-03 19:53           ` Keir Fraser
2007-12-03 19:54           ` eliminating 166G limit (was Re: Problem with nr_nodeson " Subrahmanian, Raj
2007-12-06 13:40           ` Keir Fraser [this message]
2007-12-07 13:20             ` eliminating 166G limit (was Re: Problem withnr_nodes on " Krysan, Susan
2008-05-10 22:38               ` Yinghai Lu
2007-12-07 16:17             ` Subrahmanian, Raj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C37DAC49.197EB%Keir.Fraser@cl.cam.ac.uk \
    --to=keir.fraser@cl.cam.ac.uk \
    --cc=eak@us.ibm.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.