<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>

<META content="MSHTML 6.00.2900.5726" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=937265915-18042009><FONT face=Arial color=#0000ff size=2>Hi 
Ruby --</FONT></SPAN></DIV>
<DIV><SPAN class=937265915-18042009><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=937265915-18042009><FONT face=Arial color=#0000ff size=2>It 
requires some code changes in tmem so that all data structures are taken from 
xenheap, but all tmem full pages of data are taken from anonymous 
domheap.</FONT></SPAN></DIV>
<DIV><SPAN class=937265915-18042009><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=937265915-18042009><FONT face=Arial color=#0000ff size=2>Also, 
compression cannot be turned on for 32-bit (because that would require the 
compressed pages to be taken from xenheap).</FONT></SPAN></DIV>
<DIV><SPAN class=937265915-18042009><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=937265915-18042009><FONT face=Arial color=#0000ff size=2>Since 
xenheap is limited to 12MB, tmem keeps growing until the 12MB is gone.&nbsp; I 
didn't increase the size of xenheap, but if it can be increased, that would 
allow more memory to be used for tmem.</FONT></SPAN></DIV>
<DIV><SPAN class=937265915-18042009><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=937265915-18042009><FONT face=Arial color=#0000ff size=2>My 
limited testing on tmem-32 is by compiling linux over and over (170 times now 
and still running).</FONT></SPAN></DIV>
<DIV><SPAN class=937265915-18042009><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=937265915-18042009><FONT face=Arial color=#0000ff size=2>I'll 
try to get the code changes published early next week and then you can look for 
the ifdefs to see what changes I made.&nbsp; Also, tmem will be going into 
xen-unstable soon (soon after 3.4.0 releases).</FONT></SPAN></DIV>
<DIV><SPAN class=937265915-18042009><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=937265915-18042009><FONT face=Arial color=#0000ff 
size=2>Dan</FONT></SPAN></DIV>
<BLOCKQUOTE 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> ruby young 
  [mailto:yangyang@les.buaa.edu.cn]<BR><B>Sent:</B> Friday, April 17, 2009 6:15 
  PM<BR><B>To:</B> Dan Magenheimer<BR><B>Subject:</B> Re: [Tmem-users] compile 
  error after patch tmem-xen<BR><BR></FONT></DIV>
  <DIV>Thanks Dan~</DIV>
  <DIV>It's really good news for me~</DIV>
  <DIV>Could you tell me how did you do that? I tried to increase the size of 
  xenheap, but it seems not working well.</DIV>
  <DIV>Another questions&nbsp;are How can I get the source code and what testing 
  do you&nbsp;do running on the tmem-32?</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Best wishes!</DIV>
  <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  Ruby&nbsp;<BR><BR></DIV>
  <DIV class=gmail_quote>2009/4/18 Dan Magenheimer <SPAN dir=ltr>&lt;<A 
  href="mailto:dan.magenheimer@oracle.com">dan.magenheimer@oracle.com</A>&gt;</SPAN><BR>
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
    <DIV>
    <DIV><SPAN><FONT face=Arial color=#0000ff size=2>HI Ruby 
    --</FONT></SPAN></DIV><SPAN>
    <DIV><BR><FONT face=Arial color=#0000ff size=2>Good news!&nbsp; I have tmem 
    working on a 32-bit hypervisor again!</FONT></DIV>
    <DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial color=#0000ff size=2><SPAN>It is limited by xenheap, 
    so can't be used effectively on large memory machines and probably shouldn't 
    be used for benchmarking.&nbsp; But it can be used for experimentation and 
    some testing.</SPAN></FONT></DIV>
    <DIV><FONT face=Arial color=#0000ff size=2><SPAN></SPAN></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial color=#0000ff size=2><SPAN>If you are still 
    interested, let me know and I will get it cleaned up and 
    posted.</SPAN></FONT></DIV><SPAN>
    <DIV><BR><FONT face=Arial color=#0000ff size=2>Thanks,</FONT></DIV>
    <DIV></DIV></SPAN></SPAN><SPAN><FONT face=Arial color=#0000ff 
    size=2>Dan</FONT></SPAN></DIV>
    <BLOCKQUOTE 
    style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid">
      <DIV dir=ltr align=left><FONT face=Tahoma size=2>
      <DIV class=im>-----Original Message-----<BR><B>From:</B> ruby young 
      [mailto:<A href="mailto:yangyang@les.buaa.edu.cn" 
      target=_blank>yangyang@les.buaa.edu.cn</A>]<BR></DIV>
      <DIV>
      <DIV></DIV>
      <DIV class=h5><B>Sent:</B> Sunday, April 05, 2009 11:02 PM<BR><B>To:</B> 
      Dan Magenheimer<BR><B>Subject:</B> Re: [Tmem-users] compile error after 
      patch tmem-xen<BR><BR></DIV></DIV></FONT></DIV>
      <DIV>
      <DIV></DIV>
      <DIV class=h5>
      <DIV>Thanks Dan~</DIV>
      <DIV>&nbsp;</DIV>
      <DIV>I have not found 64-bit machine now.&nbsp; I tried to change the size 
      of xenheap using the way mentioned in maillist but not succeed.&nbsp;What 
      a pity! But I would concern on tmem and I hope I could discuss with you 
      more. </DIV>
      <DIV>&nbsp;</DIV>
      <DIV>Best wishes!</DIV>
      <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
      Ruby Young<BR><BR></DIV>
      <DIV class=gmail_quote>On Wed, Apr 1, 2009 at 11:10 AM, Dan Magenheimer 
      <SPAN dir=ltr>&lt;<A href="mailto:dan.magenheimer@oracle.com" 
      target=_blank>dan.magenheimer@oracle.com</A>&gt;</SPAN> wrote:<BR>
      <BLOCKQUOTE class=gmail_quote 
      style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
        <DIV>
        <DIV><SPAN><FONT face=Arial color=#0000ff size=2>Hi Ruby 
        --</FONT></SPAN></DIV>
        <DIV><SPAN><FONT face=Arial color=#0000ff 
        size=2></FONT></SPAN>&nbsp;</DIV>
        <DIV><SPAN><FONT face=Arial color=#0000ff size=2>Are you sure your 
        hardware won't support 64-bit?&nbsp; Nearly all processors built in the 
        last 3-4 years do, even though most people don't use it.&nbsp; In Linux 
        (dom0 is fine), do "cat /proc/cpuinfo | grep -w lm".&nbsp; If you get 
        anything,&nbsp;the cpu&nbsp;has 64-bit support.</FONT></SPAN></DIV>
        <DIV><SPAN><FONT face=Arial color=#0000ff 
        size=2></FONT></SPAN>&nbsp;</DIV>
        <DIV><SPAN><FONT face=Arial color=#0000ff size=2>Because of the limited 
        address space in 32-bit, xenheap is very small and the only way to use 
        pointers from domheap is to bracket EVERY use of a pointer (to memory 
        obtained from domheap) with two function calls to ensure that the 
        pointer is mapped in the 32-bit range.&nbsp; This makes the tmem code 
        unreadable and unmanageable so I dropped 32-bit 
        support.</FONT></SPAN></DIV>
        <DIV><SPAN><FONT face=Arial color=#0000ff 
        size=2></FONT></SPAN>&nbsp;</DIV>
        <DIV><SPAN><FONT face=Arial color=#0000ff size=2>Dan</FONT></SPAN></DIV>
        <BLOCKQUOTE 
        style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid">
          <DIV dir=ltr align=left><FONT face=Tahoma size=2>
          <DIV>-----Original Message-----<BR><B>From:</B> ruby young [mailto:<A 
          href="mailto:yangyang@les.buaa.edu.cn" 
          target=_blank>yangyang@les.buaa.edu.cn</A>]<BR></DIV>
          <DIV>
          <DIV></DIV>
          <DIV><B>Sent:</B> Tuesday, March 31, 2009 8:02 PM<BR><B>To:</B> Dan 
          Magenheimer<BR><B>Subject:</B> Re: [Tmem-users] compile error after 
          patch tmem-xen<BR><BR></DIV></DIV></FONT></DIV>
          <DIV>
          <DIV></DIV>
          <DIV>
          <DIV>Thanks Dan~</DIV>
          <DIV>&nbsp;</DIV>
          <DIV>My machine is 32-bit hardware, so it's pity that&nbsp;I cannot 
          use it.</DIV>
          <DIV>Do you have any plan to transplant tmem into 32-bit machine? If 
          not, why don't you do that?Do you think it isn't necessary to do 
          this&#xFF1F;</DIV>
          <DIV>&nbsp;</DIV>
          <DIV>Best wishes!</DIV>
          <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
          Ruby young<BR><BR></DIV>
          <DIV class=gmail_quote>2009/3/31 Dan Magenheimer <SPAN dir=ltr>&lt;<A 
          href="mailto:dan.magenheimer@oracle.com" 
          target=_blank>dan.magenheimer@oracle.com</A>&gt;</SPAN><BR>
          <BLOCKQUOTE class=gmail_quote 
          style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
            <DIV>
            <DIV><SPAN><FONT face=Arial color=#0000ff size=2>Hi Ruby 
            --</FONT></SPAN></DIV>
            <DIV><SPAN><FONT face=Arial color=#0000ff 
            size=2></FONT></SPAN>&nbsp;</DIV>
            <DIV><SPAN><FONT face=Arial color=#0000ff size=2>One other thing I 
            should have told you:&nbsp; tmem will not work on 32-bit hardware or 
            32-bit Xen.&nbsp; You must have 64-bit hardware and 64-bit 
            Xen.</FONT></SPAN></DIV>
            <DIV><SPAN><FONT face=Arial color=#0000ff 
            size=2></FONT></SPAN>&nbsp;</DIV>
            <DIV><SPAN><FONT face=Arial color=#0000ff size=2>The change you 
            suggest below is incorrect... all alloc_xenheap_pages calls need to 
            be converted to use two arguments.&nbsp; There was a patch in 
            xen-unstable this year to do that and tmem depends on 
            it.</FONT></SPAN></DIV>
            <DIV><SPAN><FONT face=Arial color=#0000ff 
            size=2></FONT></SPAN>&nbsp;</DIV>
            <DIV><SPAN><FONT face=Arial color=#0000ff size=2>I should be able to 
            publish a 3.3.1 patch (and maybe a 64-bit 3.3.1-based xen) today or 
            tomorrow.</FONT></SPAN></DIV>
            <DIV><SPAN><FONT face=Arial color=#0000ff 
            size=2></FONT></SPAN>&nbsp;</DIV>
            <DIV><SPAN><FONT face=Arial color=#0000ff 
            size=2>Dan</FONT></SPAN></DIV>
            <BLOCKQUOTE 
            style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid">
              <DIV dir=ltr align=left><FONT face=Tahoma size=2>
              <DIV>-----Original Message-----<BR><B>From:</B> ruby young 
              [mailto:<A href="mailto:yangyang@les.buaa.edu.cn" 
              target=_blank>yangyang@les.buaa.edu.cn</A>]<BR></DIV>
              <DIV>
              <DIV></DIV>
              <DIV><B>Sent:</B> Tuesday, March 31, 2009 1:56 AM<BR><B>To:</B> 
              Dan Magenheimer<BR><B>Subject:</B> Re: [Tmem-users] compile error 
              after patch tmem-xen<BR><BR></DIV></DIV></FONT></DIV>
              <DIV>
              <DIV></DIV>
              <DIV>Hi Dan~<BR>&nbsp;<BR>&nbsp;&nbsp;&nbsp; The problem in first 
              mail I have found: in 26 lines of tmem_xen.h: 
              <BR>&nbsp;&nbsp;&nbsp; #define&nbsp; tmem_alloc_tmemheap_pages(_o) 
              alloc_xenheap_pages(_o,0) have 2 arguments to function 
              alloc_xenheap_pages,but it should be only 1 argument. 
              <BR>&nbsp;&nbsp;&nbsp; so, I think it can change as 
              below:<BR>&nbsp;&nbsp;&nbsp; #define&nbsp; 
              tmem_alloc_tmemheap_pages(_o) 
              alloc_xenheap_pages(_o)<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp; 
              best 
              wishes!<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
              Ruby<BR><BR>PS: the problem in first mail <BR>&nbsp; &nbsp;tmem.c: 
              In function &#x2018;pool_alloc&#x2019;:<BR>&nbsp; &nbsp;tmem.c:678: error: too 
              many arguments to function &#x2018;alloc_xenheap_pages&#x2019;<BR>and I cannot 
              find alloc_xenheap_pages functions in that place but 
              tmem_alloc_tmemheap_pages(0). What can I do if I want to try to 
              use tmem?<BR>&nbsp; &nbsp; Thanks very much!<BR><BR><BR>
              <DIV class=gmail_quote>2009/3/31 ruby young <SPAN dir=ltr>&lt;<A 
              href="mailto:yangyang@les.buaa.edu.cn" 
              target=_blank>yangyang@les.buaa.edu.cn</A>&gt;</SPAN><BR>
              <BLOCKQUOTE class=gmail_quote 
              style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
                <DIV>Hi Dan~</DIV>
                <DIV>&nbsp;</DIV>
                <DIV>By the way, I know how to build a guest kernel inside of 
                VM, and I prefer 2.6.18.8-xen.</DIV>
                <DIV>&nbsp;</DIV>
                <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                Ruby<BR></DIV>
                <DIV class=gmail_quote>2009/3/31 ruby young <SPAN dir=ltr>&lt;<A 
                href="mailto:yangyang@les.buaa.edu.cn" 
                target=_blank>yangyang@les.buaa.edu.cn</A>&gt;</SPAN> 
                <DIV>
                <DIV></DIV>
                <DIV><BR>
                <BLOCKQUOTE class=gmail_quote 
                style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
                  <DIV>
                  <DIV>Hi Dan~</DIV>
                  <DIV>&nbsp;&nbsp;&nbsp; Thanks for your reply!</DIV></DIV>
                  <DIV>&nbsp;&nbsp;&nbsp; I will try to use and 
                  feedback!<BR>&nbsp;&nbsp;&nbsp; If I have further idea in use 
                  tmem, I'd like&nbsp;sharing the idea with you!</DIV>
                  <DIV>&nbsp;&nbsp;&nbsp; Best wishes!</DIV>
                  <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                  Ruby<BR></DIV>
                  <DIV class=gmail_quote>2009/3/31 Dan Magenheimer <SPAN 
                  dir=ltr>&lt;<A href="mailto:dan.magenheimer@oracle.com" 
                  target=_blank>dan.magenheimer@oracle.com</A>&gt;</SPAN> 
                  <DIV>
                  <DIV></DIV>
                  <DIV><BR>
                  <BLOCKQUOTE class=gmail_quote 
                  style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Hi 
                    Ruby --<BR><BR>Thanks for your feedback!<BR><BR>Tmem 
                    requires both a patched xen and a patched guest 
                    kernel.<BR>Also, the xen tools installed on domain0 should 
                    be patched.<BR>Then, tmem must be enabled with the xen boot 
                    parameter "tmem"<BR>and "tmem_compress" will enable 
                    compression of all tmem<BR>pages.<BR><BR>Do you know how to 
                    build and boot a new guest kernel inside<BR>of a VM? 
                    &nbsp;Would you prefer 2.6.18-xen or 2.6.29 as your 
                    guest<BR>kernel?<BR><BR>Since tmem absorbs memory from xen's 
                    free memory list, you<BR>can see from dom0 that tmem is 
                    using memory with:<BR><BR>xm info | grep free<BR><BR>If you 
                    have the "watch" command on your system, &nbsp;you can 
                    do:<BR><BR>watch "xm info | grep free"<BR><BR>to watch xen's 
                    free memory change as tmem uses it.<BR>
                    <DIV><BR>Dan<BR><BR>-----Original Message-----<BR>From: ruby 
                    young [mailto:<A href="mailto:yangyang@les.buaa.edu.cn" 
                    target=_blank>yangyang@les.buaa.edu.cn</A>]<BR></DIV>
                    <DIV>
                    <DIV></DIV>
                    <DIV>Sent: Monday, March 30, 2009 7:07 AM<BR>To: Dan 
                    Magenheimer<BR>Subject: Re: [Tmem-users] compile error after 
                    patch tmem-xen<BR><BR><BR>Hi Dan~<BR><BR>Thanks for your 
                    reply.<BR>I'm interested in memory allocation method of xen 
                    and I have follow your self-balloon and tmem. After rebuild 
                    self-ballooning, I think it's a good idea of constructing a 
                    memory pool which can implemet dynamic memory allocation and 
                    reduce IO paging, then I read your mail list and you summit 
                    slide. It's really good idea and long-term planning of your 
                    tmem.<BR>Now I have some problem of your tmem. For I didn't 
                    find readme of tmem, I didn't know how to use it, that means 
                    after I patched successfully how do I know tmem can work 
                    correctly?<BR>Another problem is how do you test the usage 
                    rate of the whole memory? You have said the tmem pool can 
                    full with the whole memory space, but how do you know? Is it 
                    some test bench for you to say that?<BR><BR>Best 
                    Wishes!<BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Ruby 
                    Young<BR><BR><BR>2009/3/26 Dan Magenheimer &lt;<A 
                    href="mailto:dan.magenheimer@oracle.com" 
                    target=_blank>dan.magenheimer@oracle.com</A>&gt;<BR><BR>Hi 
                    Ruby --<BR><BR>Tmem is still under active development and 
                    I've been focused on keeping up with xen-unstable. &nbsp;It 
                    is difficult to keep active development synchronized with 
                    many versions (of both xen and Linux) but I have started 
                    working on a patch to work with Xen 3.3.1 (not 3.3.0). 
                    &nbsp;Would that work for you? &nbsp;If so, I should have it 
                    in a few days.<BR><BR>Would you mind describing what you are 
                    planning to use tmem 
                    for?<BR><BR>Thanks,<BR>Dan<BR>-----Original 
                    Message-----<BR>From: ruby young [mailto:<A 
                    href="mailto:yangyang@les.buaa.edu.cn" 
                    target=_blank>yangyang@les.buaa.edu.cn</A>]<BR>Sent: 
                    Wednesday, March 25, 2009 7:24 PM<BR>To: <A 
                    href="mailto:tmem-users@oss.oracle.com" 
                    target=_blank>tmem-users@oss.oracle.com</A><BR>Subject: 
                    [Tmem-users] compile error after patch 
                    tmem-xen<BR><BR><BR>Hi, all<BR>&nbsp; &nbsp;After I patched 
                    all of the tmem-xen-*.patch &nbsp;and recompile xen 3.3.0, 
                    There is an error:<BR>&nbsp; &nbsp;tmem.c: In function 
                    &#x2018;pool_alloc&#x2019;:<BR>&nbsp; &nbsp;tmem.c:678: error: too many 
                    arguments to function &#x2018;alloc_xenheap_pages&#x2019;<BR>and I cannot 
                    find alloc_xenheap_pages functions in that place but 
                    tmem_alloc_tmemheap_pages(0). What can I do if I want to try 
                    to use tmem?<BR>&nbsp; &nbsp; Thanks very 
                    much!<BR><BR>--<BR>Best 
                    wishes<BR><BR>&#x6768;&#x6F3E;<BR>&#x5317;&#x4EAC;&#x822A;&#x7A7A;&#x822A;&#x5929;&#x5927;&#x5B66;&#x8BA1;&#x7B97;&#x673A;&#x5B66;&#x9662;&#x4F53;&#x7CFB;&#x7ED3;&#x6784;&#x7814;&#x7A76;&#x6240;<BR>&#x7535;&#x8BDD;:010-82338059-132<BR>&#x90AE;&#x4EF6;:<A 
                    href="mailto:9907yruby@gmail.com" 
                    target=_blank>9907yruby@gmail.com</A><BR>&#x5730;&#x5740;&#xFF1A;&#x5317;&#x4EAC;&#x5E02;&#x6D77;&#x6DC0;&#x533A;&#x5B66;&#x9662;&#x8DEF;37&#x53F7;&#x5317;&#x4EAC;&#x822A;&#x7A7A;&#x822A;&#x5929;&#x5927;&#x5B66;&#x65B0;&#x4E3B;&#x697C; 
                    G&#x5EA7;1026<BR>--------------------------------------------------------------------------------<BR>Yang 
                    Yang<BR>Institute of Computer Architecture and 
                    System<BR>BeiHang University&#xFF08;BUAA&#xFF09;<BR>Tel: 
                    (86-10)82338059-132<BR>Email: <A 
                    href="mailto:9907yruby@gmail.com" 
                    target=_blank>9907yruby@gmail.com</A><BR>Addr: Room 
                    1026,Building G,The New Main Building,37# Xueyuan 
                    Rd.,Haidian District, Beijing 100083, 
                    PRC<BR><BR><BR>_______________________________________________<BR>Tmem-users 
                    mailing list<BR><A href="mailto:Tmem-users@oss.oracle.com" 
                    target=_blank>Tmem-users@oss.oracle.com</A><BR><A 
                    href="http://oss.oracle.com/mailman/listinfo/tmem-users" 
                    target=_blank>http://oss.oracle.com/mailman/listinfo/tmem-users</A><BR><BR><BR><BR><BR><BR>--<BR>Best 
                    wishes<BR><BR>&#x6768;&#x6F3E;<BR>&#x5317;&#x4EAC;&#x822A;&#x7A7A;&#x822A;&#x5929;&#x5927;&#x5B66;&#x8BA1;&#x7B97;&#x673A;&#x5B66;&#x9662;&#x4F53;&#x7CFB;&#x7ED3;&#x6784;&#x7814;&#x7A76;&#x6240;<BR>&#x7535;&#x8BDD;:010-82338059-132<BR>&#x90AE;&#x4EF6;:<A 
                    href="mailto:9907yruby@gmail.com" 
                    target=_blank>9907yruby@gmail.com</A><BR>&#x5730;&#x5740;&#xFF1A;&#x5317;&#x4EAC;&#x5E02;&#x6D77;&#x6DC0;&#x533A;&#x5B66;&#x9662;&#x8DEF;37&#x53F7;&#x5317;&#x4EAC;&#x822A;&#x7A7A;&#x822A;&#x5929;&#x5927;&#x5B66;&#x65B0;&#x4E3B;&#x697C; 
                    G&#x5EA7;1026<BR>--------------------------------------------------------------------------------<BR>Yang 
                    Yang<BR>Institute of Computer Architecture and 
                    System<BR>BeiHang University&#xFF08;BUAA&#xFF09;<BR>Tel: 
                    (86-10)82338059-132<BR>Email: <A 
                    href="mailto:9907yruby@gmail.com" 
                    target=_blank>9907yruby@gmail.com</A><BR>Addr: Room 
                    1026,Building G,The New Main Building,37# Xueyuan 
                    Rd.,Haidian District, Beijing 100083, 
                  PRC<BR></DIV></DIV></BLOCKQUOTE></DIV></DIV></DIV>
                  <DIV>
                  <DIV></DIV>
                  <DIV><BR><BR clear=all><BR>-- <BR>Best 
                  wishes<BR><BR>&#x6768;&#x6F3E;<BR>&#x5317;&#x4EAC;&#x822A;&#x7A7A;&#x822A;&#x5929;&#x5927;&#x5B66;&#x8BA1;&#x7B97;&#x673A;&#x5B66;&#x9662;&#x4F53;&#x7CFB;&#x7ED3;&#x6784;&#x7814;&#x7A76;&#x6240;<BR>&#x7535;&#x8BDD;:010-82338059-132<BR>&#x90AE;&#x4EF6;:<A 
                  href="mailto:9907yruby@gmail.com" 
                  target=_blank>9907yruby@gmail.com</A><BR>&#x5730;&#x5740;&#xFF1A;&#x5317;&#x4EAC;&#x5E02;&#x6D77;&#x6DC0;&#x533A;&#x5B66;&#x9662;&#x8DEF;37&#x53F7;&#x5317;&#x4EAC;&#x822A;&#x7A7A;&#x822A;&#x5929;&#x5927;&#x5B66;&#x65B0;&#x4E3B;&#x697C; 
                  G&#x5EA7;1026<BR>--------------------------------------------------------------------------------<BR>Yang 
                  Yang<BR>Institute of Computer Architecture and System 
                  <BR>BeiHang University&#xFF08;BUAA&#xFF09;<BR>Tel: 
                  (86-10)82338059-132<BR>Email: <A 
                  href="mailto:9907yruby@gmail.com" 
                  target=_blank>9907yruby@gmail.com</A><BR>Addr: Room 
                  1026,Building G,The New Main Building,37# Xueyuan Rd.,Haidian 
                  District, Beijing 100083, 
                PRC<BR></DIV></DIV></BLOCKQUOTE></DIV></DIV></DIV><BR><BR 
                clear=all><BR>-- <BR>
                <DIV>
                <DIV></DIV>
                <DIV>Best 
                wishes<BR><BR>&#x6768;&#x6F3E;<BR>&#x5317;&#x4EAC;&#x822A;&#x7A7A;&#x822A;&#x5929;&#x5927;&#x5B66;&#x8BA1;&#x7B97;&#x673A;&#x5B66;&#x9662;&#x4F53;&#x7CFB;&#x7ED3;&#x6784;&#x7814;&#x7A76;&#x6240;<BR>&#x7535;&#x8BDD;:010-82338059-132<BR>&#x90AE;&#x4EF6;:<A 
                href="mailto:9907yruby@gmail.com" 
                target=_blank>9907yruby@gmail.com</A><BR>&#x5730;&#x5740;&#xFF1A;&#x5317;&#x4EAC;&#x5E02;&#x6D77;&#x6DC0;&#x533A;&#x5B66;&#x9662;&#x8DEF;37&#x53F7;&#x5317;&#x4EAC;&#x822A;&#x7A7A;&#x822A;&#x5929;&#x5927;&#x5B66;&#x65B0;&#x4E3B;&#x697C; 
                G&#x5EA7;1026<BR>--------------------------------------------------------------------------------<BR>Yang 
                Yang<BR>Institute of Computer Architecture and System 
                <BR>BeiHang University&#xFF08;BUAA&#xFF09;<BR>Tel: 
                (86-10)82338059-132<BR>Email: <A 
                href="mailto:9907yruby@gmail.com" 
                target=_blank>9907yruby@gmail.com</A><BR>Addr: Room 
                1026,Building G,The New Main Building,37# Xueyuan Rd.,Haidian 
                District, Beijing 100083, 
              PRC<BR></DIV></DIV></BLOCKQUOTE></DIV><BR><BR clear=all><BR>-- 
              <BR>Best 
              wishes<BR><BR>&#x6768;&#x6F3E;<BR>&#x5317;&#x4EAC;&#x822A;&#x7A7A;&#x822A;&#x5929;&#x5927;&#x5B66;&#x8BA1;&#x7B97;&#x673A;&#x5B66;&#x9662;&#x4F53;&#x7CFB;&#x7ED3;&#x6784;&#x7814;&#x7A76;&#x6240;<BR>&#x7535;&#x8BDD;:010-82338059-132<BR>&#x90AE;&#x4EF6;:<A 
              href="mailto:9907yruby@gmail.com" 
              target=_blank>9907yruby@gmail.com</A><BR>&#x5730;&#x5740;&#xFF1A;&#x5317;&#x4EAC;&#x5E02;&#x6D77;&#x6DC0;&#x533A;&#x5B66;&#x9662;&#x8DEF;37&#x53F7;&#x5317;&#x4EAC;&#x822A;&#x7A7A;&#x822A;&#x5929;&#x5927;&#x5B66;&#x65B0;&#x4E3B;&#x697C; 
              G&#x5EA7;1026<BR>--------------------------------------------------------------------------------<BR>Yang 
              Yang<BR>Institute of Computer Architecture and System <BR>BeiHang 
              University&#xFF08;BUAA&#xFF09;<BR>Tel: (86-10)82338059-132<BR>Email: <A 
              href="mailto:9907yruby@gmail.com" 
              target=_blank>9907yruby@gmail.com</A><BR>Addr: Room 1026,Building 
              G,The New Main Building,37# Xueyuan Rd.,Haidian District, Beijing 
              100083, 
          PRC<BR></DIV></DIV></BLOCKQUOTE></DIV></BLOCKQUOTE></DIV><BR><BR 
          clear=all><BR>-- <BR>Best 
          wishes<BR><BR>&#x6768;&#x6F3E;<BR>&#x5317;&#x4EAC;&#x822A;&#x7A7A;&#x822A;&#x5929;&#x5927;&#x5B66;&#x8BA1;&#x7B97;&#x673A;&#x5B66;&#x9662;&#x4F53;&#x7CFB;&#x7ED3;&#x6784;&#x7814;&#x7A76;&#x6240;<BR>&#x7535;&#x8BDD;:010-82338059-132<BR>&#x90AE;&#x4EF6;:<A 
          href="mailto:9907yruby@gmail.com" 
          target=_blank>9907yruby@gmail.com</A><BR>&#x5730;&#x5740;&#xFF1A;&#x5317;&#x4EAC;&#x5E02;&#x6D77;&#x6DC0;&#x533A;&#x5B66;&#x9662;&#x8DEF;37&#x53F7;&#x5317;&#x4EAC;&#x822A;&#x7A7A;&#x822A;&#x5929;&#x5927;&#x5B66;&#x65B0;&#x4E3B;&#x697C; 
          G&#x5EA7;1026<BR>--------------------------------------------------------------------------------<BR>Yang 
          Yang<BR>Institute of Computer Architecture and System <BR>BeiHang 
          University&#xFF08;BUAA&#xFF09;<BR>Tel: (86-10)82338059-132<BR>Email: <A 
          href="mailto:9907yruby@gmail.com" 
          target=_blank>9907yruby@gmail.com</A><BR>Addr: Room 1026,Building 
          G,The New Main Building,37# Xueyuan Rd.,Haidian District, Beijing 
          100083, PRC<BR></DIV></DIV></BLOCKQUOTE></DIV></BLOCKQUOTE></DIV><BR><BR 
      clear=all><BR>-- <BR>Best 
      wishes<BR><BR>&#x6768;&#x6F3E;<BR>&#x5317;&#x4EAC;&#x822A;&#x7A7A;&#x822A;&#x5929;&#x5927;&#x5B66;&#x8BA1;&#x7B97;&#x673A;&#x5B66;&#x9662;&#x4F53;&#x7CFB;&#x7ED3;&#x6784;&#x7814;&#x7A76;&#x6240;<BR>&#x7535;&#x8BDD;:010-82338059-132<BR>&#x90AE;&#x4EF6;:<A 
      href="mailto:9907yruby@gmail.com" 
      target=_blank>9907yruby@gmail.com</A><BR>&#x5730;&#x5740;&#xFF1A;&#x5317;&#x4EAC;&#x5E02;&#x6D77;&#x6DC0;&#x533A;&#x5B66;&#x9662;&#x8DEF;37&#x53F7;&#x5317;&#x4EAC;&#x822A;&#x7A7A;&#x822A;&#x5929;&#x5927;&#x5B66;&#x65B0;&#x4E3B;&#x697C; 
      G&#x5EA7;1026<BR>--------------------------------------------------------------------------------<BR>Yang 
      Yang<BR>Institute of Computer Architecture and System <BR>BeiHang 
      University&#xFF08;BUAA&#xFF09;<BR>Tel: (86-10)82338059-132<BR>Email: <A 
      href="mailto:9907yruby@gmail.com" 
      target=_blank>9907yruby@gmail.com</A><BR>Addr: Room 1026,Building G,The 
      New Main Building,37# Xueyuan Rd.,Haidian District, Beijing 100083, 
      PRC<BR></DIV></DIV></BLOCKQUOTE></BLOCKQUOTE></DIV><BR><BR clear=all><BR>-- 
  <BR>Best 
  wishes<BR><BR>&#x6768;&#x6F3E;<BR>&#x5317;&#x4EAC;&#x822A;&#x7A7A;&#x822A;&#x5929;&#x5927;&#x5B66;&#x8BA1;&#x7B97;&#x673A;&#x5B66;&#x9662;&#x4F53;&#x7CFB;&#x7ED3;&#x6784;&#x7814;&#x7A76;&#x6240;<BR>&#x7535;&#x8BDD;:010-82338059-132<BR>&#x90AE;&#x4EF6;:<A 
  href="mailto:9907yruby@gmail.com">9907yruby@gmail.com</A><BR>&#x5730;&#x5740;&#xFF1A;&#x5317;&#x4EAC;&#x5E02;&#x6D77;&#x6DC0;&#x533A;&#x5B66;&#x9662;&#x8DEF;37&#x53F7;&#x5317;&#x4EAC;&#x822A;&#x7A7A;&#x822A;&#x5929;&#x5927;&#x5B66;&#x65B0;&#x4E3B;&#x697C; 
  G&#x5EA7;1026<BR>--------------------------------------------------------------------------------<BR>Yang 
  Yang<BR>Institute of Computer Architecture and System <BR>BeiHang 
  University&#xFF08;BUAA&#xFF09;<BR>Tel: (86-10)82338059-132<BR>Email: <A 
  href="mailto:9907yruby@gmail.com">9907yruby@gmail.com</A><BR>Addr: Room 
  1026,Building G,The New Main Building,37# Xueyuan Rd.,Haidian District, 
  Beijing 100083, PRC<BR></BLOCKQUOTE></BODY></HTML>