From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,d60488302bc9753e X-Google-Attributes: gid111c93,public From: "Matt Goheen" Subject: Re: Unaligned traps Date: 1998/10/02 Message-ID: #1/1 X-Deja-AN: 397018937 Content-Transfer-Encoding: 7bit References: <361090FF.B93DD4B1@zutt.ch> <3614436F.13D77526@erols.com> Content-Type: text/plain; charset="iso-8859-1" X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 X-Complaints-To: news@twcny.rr.com X-Trace: newse1.twcny.rr.com 907330401 24.93.25.95 (Fri, 02 Oct 1998 08:13:21 EDT) Organization: TWC Road Runner MIME-Version: 1.0 NNTP-Posting-Date: Fri, 02 Oct 1998 08:13:21 EDT Newsgroups: comp.os.linux.alpha >I am getting them occassionally as well. These unaligned traps appear to >be handled somehow allowing the system to keep on running, they do make >me uncomfortable though. >> >> Yesterday, I've seen that nearly every application is posting me four >> 'unaligned trap'-messages in my /var/log/messages-file. This occurs >> mainly when I'm runnig X (manager: KDE, build with egcs-1.0.3a and >> qt-1.33): even when I resize a window, there are four new traps... What >> makes me wondering is, that no application terminates- but I don't >> think that such messages are a sign for a proper system. Somewhere in the Alpha docs it mentions these traps. They are what their name implies -- accesses to objects whose address modulo size is non-zero. The kernel traps these accesses and "fixes" them, allowing life to continue. Obviously, you take a substantial performance hit when this happens (I have no idea how much, but likely on the order of 100x slower access), but if it only happens once every 1000000 instructions, your only talking a slowdown of about 0.01% -- hardly noticable in real world applications ;-) Still, tracking down and eliminating the errors would be very "complete" of you, since they ARE errors. I got a lot of them on the lx164 box I had. I don't ever see them on the AS400 I have now. - Matt Goheen P.S. Use "iname" instead of "noname" to reply directly.