On 29 Apr 2001, Sriram Karra wrote:

 |Kingsly John <[EMAIL PROTECTED]> writes:
 |
 |> Can someone explain what bus error is ? I have seen this happen on
 |> my machine when I try to pipe large amounts of data or
 |> something... but then on a second try it normally works fine!
 |> 
 |> Kingsly
 |
 |Here is an excerpt from Peter Van Der Linden's excellent "Expert C
 |Programming" book:
 |
 || In practice, a bus error is almost always caused by a misaligned read
 || or write.  It's called a bus error, because the address bus is the
 || component that chokes if a misaligned load or store is requested.

This brings me to something else that I have seen.. pagefaults... when I
looked up on the net I saw an explaination similiar to the one above.

When I compile a kernel... if I "time" it.... I get about a million minor
and major pagefaults....

even a simple ls gives me 

0.01user 0.00system 0:00.06elapsed 15%CPU (0avgtext+0avgdata
0maxresident)k 0inputs+0outputs (153major+104minor)pagefaults 0swaps

(pretty large directory though)

But a seach or google returned some results where somepeople have managed
to compile a kernel with *ZERO* pagefaults!

Is there anyways to fix these bus errors and pagefaults ??

Kingsly

                .:: Kingsly John                ICQ 14787510 ::.
               --------------------------------------------------
            .:: Linux 2.4.3 #10 Mon Apr 23 22:43:11 IST 2001 i686 ::.
            --------------------------------------------------------
           `:. Posted to the list on Mon Apr 30 08:09:35 IST 2001 .:'


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to