Skip to contentSkip to conversation

XEN Hypervisor Lines Of Code

DISCUSSION Lil Evil 4 participants 6 messages Sep 11, 2008

lore
Share & tools
lore

Lil Evil

author
#0 lore raw

Hi

I was just wondering if anybody keeps a record of the LOC (privileged LOC) in the XEN Hypervisor. I was under the (false???) impression that the Hypervisor consists of a couple of tens of thousand privileged LOCs. I am somewhat surprised about Joanna Rutkowskas statement about the 300k LOC in Xen 3.3.
Does anybody have different (same) numbers?

Thanks
lIl

Signature · 2 lines
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf@gmx
#1 lore raw
Quoted 3 lines · Lil Evil, le Thu 11 Sep 2008 12:11:12 +0200, a écrit :

I was under the (false???) impression that the Hypervisor consists of a couple of tens of thousand privileged LOCs. I am somewhat surprised about Joanna Rutkowskas statement about the 300k LOC in Xen 3.3.
Does anybody have different (same) numbers?

xen-unstable.hg/xen$ find . -name \*.\[ch\] | xargs cat | wc -l 292066

Samuel

#2 lore raw
In reply to Lil Evil
Quoted 9 lines · Lil Evil

Hi

I was just wondering if anybody keeps a record of the LOC (privileged LOC) in the XEN Hypervisor.
I was under the (false???) impression that the Hypervisor consists of a couple of tens of thousand privileged LOCs.
I am somewhat surprised about Joanna Rutkowskas statement about the 300k LOC in Xen 3.3.
Does anybody have different (same) numbers?

The number has been growing. For an x86 build, if I exclude IA64 and XSM components (usually not built) I count about 200k LOC. If I further exclude header files (generally don't have much code in them) then I end up about 150k LOC.

So that's a more reasonable estimate in my opinion, at about half Joanna's figure. Obviously this is still rather larger than historical figures for Xen version 1 or Xen version 2.

-- Keir

author
#3 lore raw
Quoted 24 lines
Quoted 4 lines

Hi

I was just wondering if anybody keeps a record of the LOC (privileged

LOC) in

Quoted 2 lines

the XEN Hypervisor.
I was under the (false???) impression that the Hypervisor consists of a

couple

Quoted 2 lines

of tens of thousand privileged LOCs.
I am somewhat surprised about Joanna Rutkowskas statement about the

300k LOC

Quoted 2 lines

in Xen 3.3.
Does anybody have different (same) numbers?

The number has been growing. For an x86 build, if I exclude IA64 and XSM components (usually not built) I count about 200k LOC. If I further exclude
header files (generally don't have much code in them) then I end up about 150k LOC.

So that's a more reasonable estimate in my opinion, at about half Joanna's figure. Obviously this is still rather larger than historical figures for Xen version 1 or Xen version 2.

Quoted 8 lines

-- Keir

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

Hi

After looking at the tree, I would say that this sounds more likely.
Maybe, http://www.xen.org/xen/ deserves an updated concerning this - or the number should be removed at all to prevent confusion.

thanks
lIl

Signature · 2 lines
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
#4 lore raw
Quoted 8 lines · Lil Evil
Quoted 7 lines

So that's a more reasonable estimate in my opinion, at about half Joanna's figure. Obviously this is still rather larger than historical figures for Xen version 1 or Xen version 2.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Quoted 5 lines

Hi

After looking at the tree, I would say that this sounds more likely. Maybe, http://www.xen.org/xen/ deserves an updated concerning this - or the number should be removed at all to prevent confusion.

Mmm, yes that figure is rather old!

-- Keir

#5 lore raw

There are probably a couple of programs/schemes out there for counting lines of code. One that I will point out is David Wheeler's SLOC program
http://www.dwheeler.com/sloc/ which provides some pretty reliable numbers.

Quoted 26 lines · Keir Fraser
Quoted 8 lines · Lil Evil
Quoted 7 lines

So that's a more reasonable estimate in my opinion, at about half Joanna's figure. Obviously this is still rather larger than historical figures for Xen version 1 or Xen version 2.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Quoted 5 lines

Hi

After looking at the tree, I would say that this sounds more likely. Maybe, http://www.xen.org/xen/ deserves an updated concerning this - or the number should be removed at all to prevent confusion.

Mmm, yes that figure is rather old!

-- Keir

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

Signature · 1 line
George S. Coker, II <[email protected]>