* XEN Hypervisor Lines Of Code
@ 2008-09-11 10:11 Lil Evil
2008-09-11 10:24 ` Samuel Thibault
2008-09-11 10:24 ` Keir Fraser
0 siblings, 2 replies; 6+ messages in thread
From: Lil Evil @ 2008-09-11 10:11 UTC (permalink / raw)
To: xen-devel
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
--
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: XEN Hypervisor Lines Of Code
2008-09-11 10:11 XEN Hypervisor Lines Of Code Lil Evil
@ 2008-09-11 10:24 ` Samuel Thibault
2008-09-11 10:24 ` Keir Fraser
1 sibling, 0 replies; 6+ messages in thread
From: Samuel Thibault @ 2008-09-11 10:24 UTC (permalink / raw)
To: Lil Evil; +Cc: xen-devel
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: XEN Hypervisor Lines Of Code
2008-09-11 10:11 XEN Hypervisor Lines Of Code Lil Evil
2008-09-11 10:24 ` Samuel Thibault
@ 2008-09-11 10:24 ` Keir Fraser
2008-09-11 10:48 ` Lil Evil
1 sibling, 1 reply; 6+ messages in thread
From: Keir Fraser @ 2008-09-11 10:24 UTC (permalink / raw)
To: Lil Evil, xen-devel
On 11/9/08 11:11, "Lil Evil" <Lil_Evil@gmx.de> wrote:
> 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: XEN Hypervisor Lines Of Code
2008-09-11 10:24 ` Keir Fraser
@ 2008-09-11 10:48 ` Lil Evil
2008-09-11 11:07 ` Keir Fraser
0 siblings, 1 reply; 6+ messages in thread
From: Lil Evil @ 2008-09-11 10:48 UTC (permalink / raw)
To: Keir Fraser, xen-devel
>
> > 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
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> 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
--
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: XEN Hypervisor Lines Of Code
2008-09-11 10:48 ` Lil Evil
@ 2008-09-11 11:07 ` Keir Fraser
2008-09-11 15:26 ` George S. Coker, II
0 siblings, 1 reply; 6+ messages in thread
From: Keir Fraser @ 2008-09-11 11:07 UTC (permalink / raw)
To: Lil Evil, xen-devel
On 11/9/08 11:48, "Lil Evil" <Lil_Evil@gmx.de> wrote:
>> 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
>> Xen-devel@lists.xensource.com
>> 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.
Mmm, yes that figure is rather old!
-- Keir
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: XEN Hypervisor Lines Of Code
2008-09-11 11:07 ` Keir Fraser
@ 2008-09-11 15:26 ` George S. Coker, II
0 siblings, 0 replies; 6+ messages in thread
From: George S. Coker, II @ 2008-09-11 15:26 UTC (permalink / raw)
To: Keir Fraser, Lil Evil, xen-devel
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.
On 9/11/08 7:07 AM, "Keir Fraser" <keir.fraser@eu.citrix.com> wrote:
> On 11/9/08 11:48, "Lil Evil" <Lil_Evil@gmx.de> wrote:
>
>>> 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
>>> Xen-devel@lists.xensource.com
>>> 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.
>
> Mmm, yes that figure is rather old!
>
> -- Keir
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
--
George S. Coker, II <gscoker@alpha.ncsc.mil>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-09-11 15:26 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-11 10:11 XEN Hypervisor Lines Of Code Lil Evil
2008-09-11 10:24 ` Samuel Thibault
2008-09-11 10:24 ` Keir Fraser
2008-09-11 10:48 ` Lil Evil
2008-09-11 11:07 ` Keir Fraser
2008-09-11 15:26 ` George S. Coker, II
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.