Skip to contentSkip to conversation

TMEM + pv_ops kernel?

DISCUSSION Rick Boone 4 participants 10 messages May 13, 2010 – May 15, 2010 1 message not in the archive

lore
Share & tools
lore

Rick Boone

author
#0 lore raw

Hey,

I'm building Jeremy's pv_ops dom0 kernel (2.6.32.12) for use with Xen 4.0 and it looks like the Transcendant Memory options arent in the kernel config. Is TMEM not available in pv_ops? I've been looking forward to using it with Xen4, but also really wanna work with pv_ops moving forward.

Thanks alot,
-- Rick

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

Hi Rick -

Tmem is primarily of use in PV guests, less so in dom0. Are you putting pv_ops kernels in your PV guests (domUs)?

If so, Jeremy has been a big proponent of tmem and we can work together to get it into his pv_ops tree. But I think most of the focus for the pv_ops work has been to provide dom0 support. Upstream kernels already provide domU support, so I've been instead working on the linux-kernel-mailing-list toward getting tmem patches accepted upstream.

If not, just using a tmem-modified dom0 will probably not help you. I have been working on tmem-modified rpm's for various RedHat-ish kernels and I know Jan Beulich has been working on putting tmem support into various SuSE kernels.

I'd also be interested in more information about your planned usage model for tmem.

Thanks,

Dan

From: Rick Boone [mailto:[email protected]]
Sent: Thursday, May 13, 2010 4:17 PM
To: [email protected]
Subject: [Xen-devel] TMEM + pv_ops kernel?

Hey,

I'm building Jeremy's pv_ops dom0 kernel (2.6.32.12) for use with Xen 4.0 and it looks like the Transcendant Memory options arent in the kernel config. Is TMEM not available in pv_ops? I've been looking forward to using it with Xen4, but also really wanna work with pv_ops moving forward.

Thanks alot,
-- Rick

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

author
#2 lore raw

Hey Dan,

Yeah, I'm planning on using pv_ops for both the dom0 and domU kernels.

Any movement towards making TMEM available would be great; it's one of the key things we're looking forward to testing and using (along with Remus)

I'm systems engineer at a company running about 50 blogs/social networking websites (http://buzz-media.com) , all on top of a heavily virtualized infrastructure (Xen [v3.2] is our sole virt platform) . We've got about 80 dom0's, holding about 125 domU's and on a few of those boxes, especially those holding one or more of our web server domU's, we run into "out of memory" crashes from time to time. So, we're hoping to see if TMEM helps reduce our memory woes. We tend to mix and match types of domU's within dom0's, so some boxes will have 1 memory-hungry web server, alongside a number of smaller, low-usage, low-memory, developer boxes. From what we've read, TMEM might be perfect for our setup.

-- Rick

Quoted 22 lines · Dan Magenheimer

Hi Rick –

Tmem is primarily of use in PV guests, less so in dom0. Are you putting pv_ops kernels in your PV guests (domUs)?

If so, Jeremy has been a big proponent of tmem and we can work together to get it into his pv_ops tree. But I think most of the focus for the pv_ops work has been to provide dom0 support. Upstream kernels already provide domU support, so I’ve been instead working on the linux-kernel-mailing-list toward getting tmem patches accepted upstream.

If not, just using a tmem-modified dom0 will probably not help you.
I have been working on tmem-modified rpm’s for various RedHat-ish
kernels and I know Jan Beulich has been working on putting tmem support into various SuSE kernels.

I’d also be interested in more information about your planned usage model for tmem.

Thanks,

Dan

*From:* Rick Boone [mailto:[email protected]]
*Sent:* Thursday, May 13, 2010 4:17 PM
*To:* [email protected]
*Subject:* [Xen-devel] TMEM + pv_ops kernel?

Quoted 7 lines

Hey,

I'm building Jeremy's pv_ops dom0 kernel (2.6.32.12) for use with Xen 4.0 and it looks like the Transcendant Memory options arent in the kernel config. Is TMEM not available in pv_ops? I've been looking forward to using it with Xen4, but also really wanna work with pv_ops moving forward.

Thanks alot,
-- Rick

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw

Hi Rick -

Which exact pv_ops tree do you expect to use? The Linux patch is slightly different on each Linux version and I don't know if/how patches such as tmem will get transferred across Jeremy's and Konrad's different pv_ops trees.

Dan

From: Rick Boone [mailto:[email protected]]
Sent: Friday, May 14, 2010 4:38 PM
To: [email protected]
Subject: Re: [Xen-devel] TMEM + pv_ops kernel?

Hey Dan,

Yeah, I'm planning on using pv_ops for both the dom0 and domU kernels.

Any movement towards making TMEM available would be great; it's one of the key things we're looking forward to testing and using (along with Remus)

I'm systems engineer at a company running about 50 blogs/social networking websites (http://buzz-media.com) , all on top of a heavily virtualized infrastructure (Xen [v3.2] is our sole virt platform) . We've got about 80 dom0's, holding about 125 domU's and on a few of those boxes, especially those holding one or more of our web server domU's, we run into "out of memory" crashes from time to time. So, we're hoping to see if TMEM helps reduce our memory woes. We tend to mix and match types of domU's within dom0's, so some boxes will have 1 memory-hungry web server, alongside a number of smaller, low-usage, low-memory, developer boxes. From what we've read, TMEM might be perfect for our setup.

-- Rick

On 05/14/2010 08:26 AM, Dan Magenheimer wrote:

Hi Rick -

Tmem is primarily of use in PV guests, less so in dom0. Are you putting pv_ops kernels in your PV guests (domUs)?

If so, Jeremy has been a big proponent of tmem and we can work together to get it into his pv_ops tree. But I think most of the focus for the pv_ops work has been to provide dom0 support. Upstream kernels already provide domU support, so I've been instead working on the linux-kernel-mailing-list toward getting tmem patches accepted upstream.

If not, just using a tmem-modified dom0 will probably not help you. I have been working on tmem-modified rpm's for various RedHat-ish kernels and I know Jan Beulich has been working on putting tmem support into various SuSE kernels.

I'd also be interested in more information about your planned usage model for tmem.

Thanks,

Dan

From: Rick Boone [mailto:[email protected]]
Sent: Thursday, May 13, 2010 4:17 PM
To: HYPERLINK "mailto:[email protected]"[email protected]
Subject: [Xen-devel] TMEM + pv_ops kernel?

Hey,

I'm building Jeremy's pv_ops dom0 kernel (2.6.32.12) for use with Xen 4.0 and it looks like the Transcendant Memory options arent in the kernel config. Is TMEM not available in pv_ops? I've been looking forward to using it with Xen4, but also really wanna work with pv_ops moving forward.

Thanks alot,
-- Rick

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

author
#4 lore raw

Hey Dan,

I'm currently working with the xen/stable-2.6.32.x branch (2.6.32.12 in particular), from Jeremy's repo. I figured we would try to standardize around that, since the xen wiki says it's gonna be the branch thats maintained long term.

-- Rick

Quoted 48 lines · Dan Magenheimer

Hi Rick –

Which exact pv_ops tree do you expect to use? The Linux patch is slightly different on each Linux version and I don’t know if/how patches such as tmem will get transferred across Jeremy’s and Konrad’s different pv_ops trees.

Dan

*From:* Rick Boone [mailto:[email protected]]
*Sent:* Friday, May 14, 2010 4:38 PM
*To:* [email protected]
*Subject:* Re: [Xen-devel] TMEM + pv_ops kernel?

Hey Dan,

Yeah, I'm planning on using pv_ops for both the dom0 and domU kernels.

Any movement towards making TMEM available would be great; it's one of the key things we're looking forward to testing and using (along with Remus)

I'm systems engineer at a company running about 50 blogs/social networking websites (http://buzz-media.com) , all on top of a heavily virtualized infrastructure (Xen [v3.2] is our sole virt platform) . We've got about 80 dom0's, holding about 125 domU's and on a few of those boxes, especially those holding one or more of our web server domU's, we run into "out of memory" crashes from time to time. So, we're hoping to see if TMEM helps reduce our memory woes. We tend to mix and match types of domU's within dom0's, so some boxes will have 1 memory-hungry web server, alongside a number of smaller, low-usage, low-memory, developer boxes. From what we've read, TMEM might be perfect for our setup.

-- Rick

On 05/14/2010 08:26 AM, Dan Magenheimer wrote:

Hi Rick –

Tmem is primarily of use in PV guests, less so in dom0. Are you putting pv_ops kernels in your PV guests (domUs)?

If so, Jeremy has been a big proponent of tmem and we can work together to get it into his pv_ops tree. But I think most of the focus for the pv_ops work has been to provide dom0 support. Upstream kernels already provide domU support, so I’ve been instead working on the linux-kernel-mailing-list toward getting tmem patches accepted upstream.

If not, just using a tmem-modified dom0 will probably not help you.
I have been working on tmem-modified rpm’s for various RedHat-ish
kernels and I know Jan Beulich has been working on putting tmem support into various SuSE kernels.

I’d also be interested in more information about your planned usage model for tmem.

Thanks,

Dan

*From:* Rick Boone [mailto:[email protected]]
*Sent:* Thursday, May 13, 2010 4:17 PM
*To:* [email protected] <mailto:[email protected]> *Subject:* [Xen-devel] TMEM + pv_ops kernel?

Quoted 7 lines

Hey,

I'm building Jeremy's pv_ops dom0 kernel (2.6.32.12) for use with Xen 4.0 and it looks like the Transcendant Memory options arent in the kernel config. Is TMEM not available in pv_ops? I've been looking forward to using it with Xen4, but also really wanna work with pv_ops moving forward.

Thanks alot,
-- Rick

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#8 lore raw
In reply to Rick Boone
Quoted 7 lines · Rick Boone

Hey Dan,

Yeah, I'm planning on using pv_ops for both the dom0 and domU kernels.

Any movement towards making TMEM available would be great; it's one of the key things we're looking forward to testing and using (along with Remus)

Quoted 7 lines

I'm systems engineer at a company running about 50 blogs/social networking websites ([1]http://buzz-media.com) , all on top of a heavily virtualized infrastructure (Xen [v3.2] is our sole virt platform) . We've got about 80 dom0's, holding about 125 domU's and on a few of those boxes, especially those holding one or more of our web server domU's, we run into "out of memory" crashes from time to time.

OOM in the guest, I assume?

-- Pasi

author
#9 lore raw

Hey,

Yeah, in the guest.

-- Rick

Quoted 17 lines · Pasi Kärkkäinen
Quoted 7 lines · Rick Boone

Hey Dan,

Yeah, I'm planning on using pv_ops for both the dom0 and domU kernels.

Any movement towards making TMEM available would be great; it's one of the key things we're looking forward to testing and using (along with Remus)

Quoted 8 lines

I'm systems engineer at a company running about 50 blogs/social networking websites ([1]http://buzz-media.com) , all on top of a heavily virtualized infrastructure (Xen [v3.2] is our sole virt platform) . We've got about 80 dom0's, holding about 125 domU's and on a few of those boxes, especially those holding one or more of our web server domU's, we run into "out of memory" crashes from time to time.

Quoted 6 lines

OOM in the guest, I assume?

-- Pasi

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#5 lore raw
In reply to Dan Magenheimer
Quoted 9 lines · Dan Magenheimer

Hi Rick –

Which exact pv_ops tree do you expect to use? The Linux patch is slightly different on each Linux version and I don’t know if/how patches such as tmem will get transferred across Jeremy’s and Konrad’s different pv_ops trees.

Since the tmem patches seem to be settling down, I was waiting a bit to see if they get into an upstreamable state for this next merge window (though that's getting pretty tight at this point). But if we can set up a git branch based on 2.6.32 we should be able to easily merge it into all the various pvops branches. Are there any tmem changes needed between .32 and later kernels?

J

#6 lore raw
Quoted 7 lines

Since the tmem patches seem to be settling down, I was waiting a bit to see if they get into an upstreamable state for this next merge window (though that's getting pretty tight at this point). But if we can set up
a git branch based on 2.6.32 we should be able to easily merge it into all the various pvops branches. Are there any tmem changes needed between .32 and later kernels?

Sometimes the patches don't apply perfectly cleanly to later kernels, but maybe git automatically handles merges better than "patch"?

#7 lore raw
Quoted 11 lines · Dan Magenheimer
Quoted 8 lines

Since the tmem patches seem to be settling down, I was waiting a bit to see if they get into an upstreamable state for this next merge window (though that's getting pretty tight at this point). But if we can set up
a git branch based on 2.6.32 we should be able to easily merge it into all the various pvops branches. Are there any tmem changes needed between .32 and later kernels?

Sometimes the patches don't apply perfectly cleanly to later kernels, but maybe git automatically handles merges better than "patch"?

Yeah, that shouldn't be a problem.

J