How big is the overhaed of 2.4.x kernel compared to 2.0.x ??

How big is the overhaed of 2.4.x kernel compared to 2.0.x ??

Post by v.nagasriniva » Thu, 17 Apr 2003 16:25:09



Hi,

           Could any one give to me the information,  where can i get
the comparision
of 2.4.x kernel  vs   2.0.x .. how big is the overhead of 2.4.x compared
to 2.0.x ???

Thanks for the help,

regards,
srinivas.

 
 
 

How big is the overhaed of 2.4.x kernel compared to 2.0.x ??

Post by Markus Raa » Thu, 17 Apr 2003 20:10:01


Quote:>            Could any one give to me the information,  where can i get
> the comparision
> of 2.4.x kernel  vs   2.0.x .. how big is the overhead of 2.4.x compared
> to 2.0.x ???

Wait for Gnu/Hurd:) http://www.gnu.org/software/hurd/install.html

The overhead is not so big, even pocket pcs use the latest linux.

Markus

 
 
 

How big is the overhaed of 2.4.x kernel compared to 2.0.x ??

Post by Alexander Popo » Fri, 18 Apr 2003 00:02:03



Quote:> >            Could any one give to me the information,  where can i get
> > the comparision
> > of 2.4.x kernel  vs   2.0.x .. how big is the overhead of 2.4.x compared
> > to 2.0.x ???

> Wait for Gnu/Hurd:) http://www.gnu.org/software/hurd/install.html

> The overhead is not so big, even pocket pcs use the latest linux.

> Markus

That's still an importaint question...

Is there a simple way (that will take less than a week ;) ) to reduce the size of the 2.4 kernel by
stripping certain "parts" of it besides everithing that can be compiled as modules...

Regards,
--
Alexander Popov                  ProSyst Bulgaria Inc.
Team Leader                      48 Vladajska Str.
Dept: Real Time OS and Java VM   Sofia 1606, Bulgaria
Phone:  +359 2 952 35 81/203     http://www.prosyst.com
Mobile: +359 87 663 193          OSGi Technology Leaders                                    

 
 
 

How big is the overhaed of 2.4.x kernel compared to 2.0.x ??

Post by Kasper Dupon » Fri, 18 Apr 2003 06:27:32




> > >            Could any one give to me the information,  where can i get
> > > the comparision
> > > of 2.4.x kernel  vs   2.0.x .. how big is the overhead of 2.4.x compared
> > > to 2.0.x ???

> > Wait for Gnu/Hurd:) http://www.gnu.org/software/hurd/install.html

> > The overhead is not so big, even pocket pcs use the latest linux.

> > Markus

> That's still an importaint question...

> Is there a simple way (that will take less than a week ;) ) to reduce the size of the 2.4 kernel by
> stripping certain "parts" of it besides everithing that can be compiled as modules...

Which overhead are you actually talking about?

--
Kasper Dupont -- der bruger for meget tid p? usenet.

for(_=52;_;(_%5)||(_/=5),(_%5)&&(_-=2))putchar(_);

 
 
 

How big is the overhaed of 2.4.x kernel compared to 2.0.x ??

Post by Alexander Popo » Fri, 18 Apr 2003 17:47:03





> > > >            Could any one give to me the information,  where can i get
> > > > the comparision
> > > > of 2.4.x kernel  vs   2.0.x .. how big is the overhead of 2.4.x compared
> > > > to 2.0.x ???

> > > Wait for Gnu/Hurd:) http://www.gnu.org/software/hurd/install.html

> > > The overhead is not so big, even pocket pcs use the latest linux.

> > > Markus

> > That's still an importaint question...

> > Is there a simple way (that will take less than a week ;) ) to reduce the size of the 2.4 kernel
> > by stripping certain "parts" of it besides everithing that can be compiled as modules...

> Which overhead are you actually talking about?

I'm mostly interested in the file size of the kernel. The memory overhead is not so importaint for
me. The problem is that I'm trying to think of a way to put it in a 256k EEPROM which should only
provide the booting and the mounting ot the root partition (which holds the hardware modules for the
board).

> --
> Kasper Dupont -- der bruger for meget tid p? usenet.

> for(_=52;_;(_%5)||(_/=5),(_%5)&&(_-=2))putchar(_);

--
Alexander Popov                  ProSyst Bulgaria Inc.
Team Leader                      48 Vladajska Str.
Dept: Real Time OS and Java VM   Sofia 1606, Bulgaria
Phone:  +359 2 952 35 81/203     http://www.prosyst.com
Mobile: +359 87 663 193          OSGi Technology Leaders                                    
 
 
 

1. Shared memory: kernel 2.4 *much* slower compared to 2.2?

While running some benchmarks on a in-house inter-process communication FIFO
I got some strange results. Please forgive me if the problem is already known
but I am not too much in Linux system development...

I have compared the same code on 2.2.12-20 and 2.4.2-2. For a single-process
exchange of data, on 2.2.12-20 I got 0.12 microseconds for a push and
0.14 microseconds for a push/pull. A second machine (same brand/model)
running 2.4.2-2 gave 0.11 microseconds for a push and 0.13 microseconds for
a push/pull. So far so good.

The same test running with two processes gave 0.18 microseconds on 2.2 and
0.65 microseconds on 2.4: a factor three! Intrigued, I run the same test on
another machine (higher clock, more CPUs) running 2.4.2 and got similar results
(0.10 microseconds for a single-process push/pull and 0.49 microseconds for
a two-processes push/pull).

More details on the test. Two processes synchronizing through a block of shared
memory (got either via IPC shmget or using a special in-house driver for hard,
pinned, contiguous memory) without semaphores and without spinlocks. The only
system call used during the test is a "usleep", in case the producer overruns the
consumer or the consumer overruns the producer. I tried to remove this usleep
(both machines where SMP, with two processors and with six processors) without seeing
any difference. Therefore the culprit should not be in the IPC system or in the
"usleep" code. The only thing left in common is the memory system... The code
was either compiled once on 2.2 and run on 2.2 and 2.4 or compiled on 2.2 and
on 2.4 for local run: both tests gave the same results. This sort of exclude
compiler-related problems.

While we had a pretty standard 2.4.2 kernel, I am not sure about the 2.2.12
kernel (the distribution was created centrally and I don't know its details,
although I could try to find them out).

Any idea/hint?
--
       Roberto Divia`             Love at first sight is one of the greatest
       =============             labor-saving devices the world has ever seen.
Mailbox: C02110                 CERN-European Organization for Nuclear Research

2. Problem installing Solaris 9 on a "large" disk

3. Problem with networking - I am using RedHat 9 Linux kernel 2.4

4. net-tools-1.5.x problem

5. 2.4.x kernels, big ide disks and old bios

6. SUN/Solaris Paper-Magazine

7. Will XFree86-4.2.0 dri modules come to 2.4.x kernel?

8. editing agetty

9. SSL accelerator card, Linux kernel 2.4+ and apache 2.0+

10. Which distro has kernel 2.4, XFree86 4.0.2, & KDE 2.0 ?

11. Help - how to find out kernel version (2.0, 2.2 or 2.4)?

12. Kernel 2.0 and big harddisk

13. 2.0 Kernel Too Big