On Monday 30 April 2001 08:15, Kingsly John wrote:
> 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....
Pagefaults are not really a problem IMO. It's the mechanism used by the OS to
page in swapped pages etc.
> 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!
I guess they must be using oodles of RAM.
> Is there anyways to fix these bus errors and pagefaults ??
Bue errors are a pain I guess, but pagefaults will happen :)
> Kingsly
>
-Faisal.
--
-====----====----====----====----====----====----====---
____
/ \
"@'| '..` |`@" L I N U X
/__| \__/ |__\ May the source be with you
\__U_/
--------------------------------------------------------
DON'T PANIC!
-The Hitchhiker's Guide To The Galaxy.
-====----====----====----====----====----====----====---
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/linux-india-help