Skip to contentSkip to conversation

lzo update in hypervisor?

DISCUSSION Dan Magenheimer 3 participants 3 messages Nov 27, 2012

lore
Share & tools
lore
#0 lore raw

Keir, Jan --

In theory, would there be any objections to updating Xen's lzo.c and unlzo.c to accomodate Markus Oberhumer's dramatic performance improvements recently posted to upstream Linux targeted for 3.8 and briefly described here:

https://lkml.org/lkml/2012/8/21/350
(short version: typically 2x faster)

Also, might it be reasonable/acceptable for
this to retain the Linux formatting so that
this and future updates need not be reformatted?

AFAIK, tmem is the only user of this code.

Thanks,
Dan

#1 lore raw
Quoted 8 lines
Quoted 1 line
Quoted 1 line · Dan Magenheimer

In theory, would there be any objections to updating Xen's lzo.c and unlzo.c to accomodate Markus Oberhumer's dramatic performance improvements recently posted to upstream Linux targeted for 3.8 and briefly described here:

https://lkml.org/lkml/2012/8/21/350
(short version: typically 2x faster)

No objection from me.

Quoted 3 lines

Also, might it be reasonable/acceptable for
this to retain the Linux formatting so that
this and future updates need not be reformatted?

You contributed that file originally with not-really-Linux, not-really-Xen formatting. The decompressors I added later based on Linux code all retained the Linux coding style, so getting the LZO code aligned back is certainly in line with that (and our general policy).

Quoted 1 line

AFAIK, tmem is the only user of this code.

Not anymore - the Dom0 kernel may come LZO-compressed, and hence the decompression code is also being used there.

Jan

#2 lore raw
Quoted 10 lines · Jan Beulich
Quoted 8 lines
Quoted 1 line
Quoted 1 line · Dan Magenheimer

In theory, would there be any objections to updating Xen's lzo.c and unlzo.c to accomodate Markus Oberhumer's dramatic performance improvements recently posted to upstream Linux targeted for 3.8 and briefly described here:

https://lkml.org/lkml/2012/8/21/350
(short version: typically 2x faster)

No objection from me.

Nor me, I agree with all Jan says.

K.

Quoted 22 lines
Quoted 3 lines

Also, might it be reasonable/acceptable for
this to retain the Linux formatting so that
this and future updates need not be reformatted?

You contributed that file originally with not-really-Linux, not-really-Xen formatting. The decompressors I added later based on Linux code all retained the Linux coding style, so getting the LZO code aligned back is certainly in line with that (and our general policy).

Quoted 1 line

AFAIK, tmem is the only user of this code.

Not anymore - the Dom0 kernel may come LZO-compressed, and hence the decompression code is also being used there.

Jan

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