* dual G4 time issues..
2000-08-12 18:46 rtc again Gabriel Paubert
@ 2000-09-17 16:47 ` Troy Benjegerdes
0 siblings, 0 replies; 5+ messages in thread
From: Troy Benjegerdes @ 2000-09-17 16:47 UTC (permalink / raw)
To: Gabriel Paubert; +Cc: Paul Mackerras, linuxppc-dev
On Sat, 12 Aug 2000, Gabriel Paubert wrote:
>
> On Sat, 12 Aug 2000, Paul Mackerras wrote:
>
> > Gabriel Paubert writes:
> >
> > > > Certainly on my 7600 with a 2-cpu powersurge board, with the code that
> > > > is currently in the devel kernel to use the tb register, you don't get
> > > > the same time on both cpus.
> > >
> > > Yes, we need a way to check that the timebase are in sync and to sync
> > > them if they are not. That's basically the same problem in any case.
> > > The problem is to do it in a way that works on all machines...
> >
> > Until we get SMP working on the 2-cpu G4 machines (hopefully I will be
> > getting one soon), the old powersurge board is the only supported SMP
> > powermac. I found with mine that when you start the second CPU, it
> > stops the decrementers (and I expect timebases as well) on both CPUs
> > until you send an interrupt from the primary to the secondary cpu.
Benh and I are pushing Mac G4 SMP patches into the recently
created linuxppc_2_5 tree. It currently seems to work reasonably well,
except there is some work needing to be done on syncing the timebases on
CPU's. I seem to have about a 14 second difference between the 2 CPU's on
the machine I'm testing on now.
(from ping -f)
43505 packets transmitted, 43504 packets received, 0% packet loss
round-trip min/avg/max = -144657.0/0.1/144657.3 ms
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* dual G4 time issues..
@ 2000-09-17 19:16 Henry Worth
2000-09-18 9:07 ` Benjamin Herrenschmidt
0 siblings, 1 reply; 5+ messages in thread
From: Henry Worth @ 2000-09-17 19:16 UTC (permalink / raw)
To: Troy Benjegerdes; +Cc: linuxppc-dev
From: Troy Benjegerdes <hozer@drgw.net>
>Benh and I are pushing Mac G4 SMP patches into the recently
>created linuxppc_2_5 tree. It currently seems to work reasonably well,
>except there is some work needing to be done on syncing the timebases on
>CPU's. I seem to have about a 14 second difference between the 2 CPU's on
>the machine I'm testing on now.
>
>(from ping -f)
>
>43505 packets transmitted, 43504 packets received, 0% packet loss
>round-trip min/avg/max = -144657.0/0.1/144657.3 ms
Troy,
Has your SMP G4 work in Ben's 2.2.18 source tree been folded
into any of the 2.4 source trees?
So far the main problem I'm seeing with the SMP G4 and smp
2.2.18pre4-ben1 is the system hangs up occasionally in xpmac
rev 10, usually when closing an app or logging out. But I've seen
nearly as many xpmac hangs in 2.2.17pre20-ben1 on a Pismo, but
there I can switch VT's and recover. Whereas, on the SMP G4, VT
switches won't work (USB -vs- ADB/PMU?). But, I can't telnet in
either, so maybe it is a hard hang (though enough is alive that it
pings -- not that that means much). Of course, if I have already
telnet'ed in, it never hangs... Will hopefully have time
to build and give XF86 4.0.x a try in a few days.
Other than that, the other problems are the general non-SMP
Rage128 nits of the 2.2.18 fb backport (character rendering
artifacts and occasional raster flickers that probably
indicate non-optimal mclk/sclk settings).
Currently, I've got the CPU load up in the 1.4-1.6 range with
no impact on GUI responsiveness and XMMS playing a CD digitally
without dropping a beat.
Thanks,
Henry
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: dual G4 time issues..
2000-09-17 19:16 dual G4 time issues Henry Worth
@ 2000-09-18 9:07 ` Benjamin Herrenschmidt
2000-09-20 2:37 ` Henry Worth
0 siblings, 1 reply; 5+ messages in thread
From: Benjamin Herrenschmidt @ 2000-09-18 9:07 UTC (permalink / raw)
To: Henry Worth, Troy Benjegerdes, linuxppc-dev
>
>So far the main problem I'm seeing with the SMP G4 and smp
>2.2.18pre4-ben1 is the system hangs up occasionally in xpmac
>rev 10, usually when closing an app or logging out. But I've seen
>nearly as many xpmac hangs in 2.2.17pre20-ben1 on a Pismo, but
>there I can switch VT's and recover. Whereas, on the SMP G4, VT
>switches won't work (USB -vs- ADB/PMU?). But, I can't telnet in
>either, so maybe it is a hard hang (though enough is alive that it
>pings -- not that that means much). Of course, if I have already
>telnet'ed in, it never hangs... Will hopefully have time
>to build and give XF86 4.0.x a try in a few days.
>
>Other than that, the other problems are the general non-SMP
>Rage128 nits of the 2.2.18 fb backport (character rendering
>artifacts and occasional raster flickers that probably
>indicate non-optimal mclk/sclk settings).
>
>Currently, I've got the CPU load up in the 1.4-1.6 range with
>no impact on GUI responsiveness and XMMS playing a CD digitally
>without dropping a beat.
I had reports of pthread-intensive applications having the threads
randomly "hang" when running on the SMP 2.2.x kernel. This happens on PPC
only (works fine with the same kernel on x86) and it's fine on UP.
Ben.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: dual G4 time issues..
2000-09-18 9:07 ` Benjamin Herrenschmidt
@ 2000-09-20 2:37 ` Henry Worth
2000-09-21 17:42 ` Michel Lanners
0 siblings, 1 reply; 5+ messages in thread
From: Henry Worth @ 2000-09-20 2:37 UTC (permalink / raw)
To: Benjamin Herrenschmidt; +Cc: Troy Benjegerdes, linuxppc-dev
Benjamin Herrenschmidt wrote:
>
>
> I had reports of pthread-intensive applications having the threads
> randomly "hang" when running on the SMP 2.2.x kernel. This happens on PPC
> only (works fine with the same kernel on x86) and it's fine on UP.
>
I'll look into getting a serial port on this machine so I can
try some debugging. Any recommendations what sort of PCI I/O
card would work best, or would one of those gadgets that
replaces the modem be a better bet? I'll guess I should
also look into the modem cross-over cable trick.
Henry
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: dual G4 time issues..
2000-09-20 2:37 ` Henry Worth
@ 2000-09-21 17:42 ` Michel Lanners
0 siblings, 0 replies; 5+ messages in thread
From: Michel Lanners @ 2000-09-21 17:42 UTC (permalink / raw)
To: haworth; +Cc: bh40, hozer, linuxppc-dev
On 19 Sep, this message from Henry Worth echoed through cyberspace:
> I'll look into getting a serial port on this machine so I can
> try some debugging. Any recommendations what sort of PCI I/O
> card would work best, or would one of those gadgets that
> replaces the modem be a better bet?
Go for the modem-replacement-thing, if you don't need the modem. That
will give aou a standard Mac-style serial port, supported
out-of-the-box.
On the other hand, PCI serial boards are supported as of very recently,
and I'm not sure whether/if that suport has found it's way into current
PPC kernels.
Michel
-------------------------------------------------------------------------
Michel Lanners | " Read Philosophy. Study Art.
23, Rue Paul Henkes | Ask Questions. Make Mistakes.
L-1710 Luxembourg |
email mlan@cpu.lu |
http://www.cpu.lu/~mlan | Learn Always. "
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2000-09-21 17:42 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-09-17 19:16 dual G4 time issues Henry Worth
2000-09-18 9:07 ` Benjamin Herrenschmidt
2000-09-20 2:37 ` Henry Worth
2000-09-21 17:42 ` Michel Lanners
-- strict thread matches above, loose matches on Subject: below --
2000-08-12 18:46 rtc again Gabriel Paubert
2000-09-17 16:47 ` dual G4 time issues Troy Benjegerdes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).