Skip to contentSkip to conversation

early_cpu_init() and identify_cpu()

DISCUSSION Jan Beulich 2 participants 4 messages Jul 16, 2007 – Jul 17, 2007

lore
Share & tools
lore
#0 lore raw
Quoted 1 line

How much faster is scrolling of WC framebuffer on your test system?

That's a win of about 30%, and using movsq in memcpy() is another win of about 50%. Will probably create a vidmemmove()...

Jan

#1 lore raw
Quoted 4 lines · Jan Beulich
Quoted 1 line

How much faster is scrolling of WC framebuffer on your test system?

That's a win of about 30%, and using movsq in memcpy() is another win of about 50%. Will probably create a vidmemmove()...

That still totally sucks then. Paging a full screen of text of, say 60 lines, done line-by-line will still take, say 60*300ms == 20 seconds(ish).

Implement this as a command-line option only if you must have it.

-- Keir

#2 lore raw
Quoted 10 lines
Quoted 1 line
Quoted 1 line

Keir Fraser <[email protected]> 17.07.07 09:50 >>>

Quoted 4 lines · Jan Beulich
Quoted 1 line

How much faster is scrolling of WC framebuffer on your test system?

That's a win of about 30%, and using movsq in memcpy() is another win of about 50%. Will probably create a vidmemmove()...

That still totally sucks then. Paging a full screen of text of, say 60 lines, done line-by-line will still take, say 60*300ms == 20 seconds(ish).

No, you got me wrong - with 'scrolling by one line' I mean the scrolling the entire screen up by a line. It's about half as fast as Linux during boot now, visibly slower post-boot.

Jan

#3 lore raw
Quoted 9 lines · Jan Beulich
Quoted 5 lines
Quoted 2 lines

That's a win of about 30%, and using movsq in memcpy() is another win of about 50%. Will probably create a vidmemmove()...

That still totally sucks then. Paging a full screen of text of, say 60 lines, done line-by-line will still take, say 60*300ms == 20 seconds(ish).

No, you got me wrong - with 'scrolling by one line' I mean the scrolling the entire screen up by a line. It's about half as fast as Linux during boot now, visibly slower post-boot.

Re-draw is going to be the default, even if I have to implement it on top of your patch. :-)

The fact that dom0 will overwrite Xen's output anyway as it re-draws seems to make scrolling-as-default the inferior option because it's significantly slower and can provide benefit really only for crash dumps (where a re-draw based scheme can work just as well).

So I don't understand your attachment to scrolling.

-- Keir