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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/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-develHi 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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/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> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel