MPM

MPM

Post by Dr_Acu » Tue, 18 May 2010 21:13:14



One thing I've not done in a long time is bring up mpm. I did it one
and basically never used it after that. For those that want to try it
maybe there are a few war stories on whats the best path.

Also for those hat have a suggestion or opinion hardware as
in how much ram, how to page it for best performance, other
wish lists.

Since I'm working with multitasking again maybe MPM is the other
way to go?

allison

I think the Propeller emulation is now stable enough running MP/M to
make a few comments. The board has 8 chips doing the hard work, mainly
a 40 pin propeller chip and external ram and support chips. This is
the same hardware that runs CPM 2.2 and on the CPM2.2 emulation the
serial ports and the local keyboard were merged together, as was
output to the vga monitor and the serial ports. For MP/M there are
three seperate emulations running:
USER 0 is the local VGA display and keyboard
USER 1 is the first serial port
USER 2 is the second serial port
and there is a 20x4 LCD display that any user can talk to.

In addition, any user can send characters to any other user through
the use of several virtual ports. And ^P copies characters to the
print spooler which any user can read. So it is possible to any user
to take over any other user and talk to it, run programs etc.

What is working in the last 24 hours is file transfers with xmodem. MP/
M can be running a program, eg MBASIC in user 2. But at the same time,
user 0 could type "USER 2" and do a DIR on user 2. Also, files can be
transferred between users using PIP. So to download a program, a
program on the PC end can send "USER 0" to the board, then run xmodem,
then send "USER 1" to return back to the proper user for the serial
port, and then send "PIP MYPROG.COM[G1]=MYPROG.COM[G0] to send the
file to user 1.

It sounds complicated, but it is easy to automate, and because every
user can talk to every other user, the whole thing can exist on one
board. Of course, you could have three physical screens and keyboards
running if you wanted - one VGA/IBM keyboard, and two Serial
terminals.

The wireless code runs on user 2 and it is now written and just needs
testing. This code sends and receives data in packets, and sends the
decoded data to user 0.

I must say that MP/M is a lot of fun. I wish I'd had a MP/M computer
when I was a kid!
 
 
 

1. MPM - A Better Way To Shop!

2. Apache 2.0.53 & php 4.3.6 & mpm compilation

Hello.
When i start apache i get this:
[Mon Mar 28 22:21:29 2005] [crit] Apache is running a threaded MPM, but
your PHP Module is not compiled to be threadsafe. You need to recompile
PHP.
Pre-configuration failed

Before this i had apache 2.0.49 and php 4.3.6 working without problems.
Only diference is this time i need enable ssl support.

I have compiled apache 2.0.53 with this options on Aix 5.2 with gcc.
CC=gcc ./configure --prefix=/usr/local/apache2053 \
--with-mpm=worker --enable-so --enable-layout=Apache \
--enable-mods-shared=most --enable-maintainer-mode
--with-expat=`pwd`/srclib/apr-util/xml/expat \
--enable-static-support --enable-auth-digest --enable-ssl

I get several warnings with ssl for compilation time but it seems to
compile.

Then i compile php 4.3.6 (4.3.10 i get errors and stop compilation) with
this options:
CC=gcc ./configure --prefix=/usr/local/apache2053/php --with-mysql
--with-config-file-path=/usr/local/apache2053/php \
--enable-track-vars --with-apxs2=/usr/local/apache2053/bin/apxs
--disable-cgi --enable-force-cgi-redirect --with-zlib --with-gettext


Any idea ?

Thanks.

3. Q: force Apache to run single-process model (MPM worker)

4. [9fans] -mpm Again

5. Updating tetex with the Miktex mpm?

6. mpm still in beta [was: miktex repositories outdated]

7. Do you still using prefork MPM for Apache?

8. php5 threadsafe / apache2 mpm=worker

9. php with threaded MPM problem ?

10. [PHP] php with threaded MPM problem ?

11. Exporting MS Project Data to Microframe Project Manager (MPM)

12. 2.0.46 Apache using mpm worker

13. Apache 2.0.48 + mpm perchild

14. How to use WORKER MPM in our own module preperation ?

15. Question about Apache 2.0.46 w/ worker MPM and memory usage