Linux-Misc Digest #268, Volume #20 Thu, 20 May 99 01:13:07 EDT
Contents:
Re: NT the best web platform? ([EMAIL PROTECTED])
neighboor table ("Sergei O. Naoumov")
ISDN Modem recommendations (Carl Waring)
Re: New Star office for glibc 2.1 (Charles E Taylor IV)
Re: information on "how to make a bootable linux cdrom"... or? (Brian Wallace)
Re: URGENT: How to download Red Hat 6??? (Hawke)
Re: Non-destructive partioning of linux partition? (Chris Sorenson)
We Need Good Unix Programmers! ("Carl Engstrom")
gcc ? ([EMAIL PROTECTED])
Re: The Vi Lovers Home Page (William Wueppelmann)
Re: DDS-3 DAT drive ([EMAIL PROTECTED])
Re: Amaya: works only with local files ? (Mihaly Gyulai)
Re: Using another partition mounter under / ("Mage...")
Re: NT the best web platform? (Marc Slemko)
Re: Kernel 2.2.3 mystery (&��������~Chameleon~&��������)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.infosystems.www.servers.unix,comp.os.linux.advocacy
Subject: Re: NT the best web platform?
Date: Wed, 19 May 1999 14:32:28 GMT
In article <7hru82$am6$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> Did any of your guys look at the webbechmark posted by PC
> magazine?Below is the URL
> http://www.zdnet.com/pcmag/stories/reviews/0,6755,2256617,00.html
> In this, it stated that NT4 and IIS is the best web platform today,
> with "Leading performance, excellent programmability and wideest
variety
> of third party addons". Contraray to common belive, it says IIS
> outperformances other webserver(apache, netscape enterprise server)
when
> load increased!!
> At the end of this article, it goes on to explain that, IIS's
leading
> performance(can you believe it???) is due to effective use of
threading
> and efficient handling of file and network i/o. The interesting point
is
> the asynchronous I/O, "Asynchronous I/O lets a threaded web server
> process requests at the same time it performas file or network i/o".
> Then it named Apache for lacking of such feature.
> I am very suspicious of such statement. In its words, it seems that
> asynchronous I/O can only be realized in a multi-threaded server,
You can not implement true async IO without having kernel scheduled
threads. I can't think of a single commercial OS that supports SMP and
doesn't have kernel threads and async IO. All major commercial UNIX's,
NT, VMS have kernel threads and async IO.
Exposing LWP to user mode is another story altogether. Generally UNIX
variants don't expose LWP to user mode due to inadequacies in the UNIX
process abstraction (fork a process). IF they do expose LWP the
process model is different when using LWP. ie. you can't fork()
> however, in my opinion, a slave i/o process can easily accomplish this
> (correct me if I am wrong). And as the introduction of copy-on-write,
> a process fork is almost as light as a thread creation. Then how come
Slave IO processes can be used for sure. That's traditionally how you
achieve parallelism on UNIX but there is overhead costs associated to
this process model and limits app scaling on multiprocessing
environments.
Latency on a SPARCStation2 for creating:
User Thread(pthreads) 52ms
LWP (kernel schedule thread) 350
Process 1700
Creating a process, even on a OS that supports copy-on-write, is still
an expensive activity. In addition there is added runtime overhead of
dispatching interprocess communication because of the calls from user
mode - kernel - user mode. In addition you would use kernel objects to
syncronized access to shared resourses which have additional overhead.
LWP can allow less kernel overhead because you can use user mode
syncronization objects (ie. critical sections) and thread
communications is done within process address space.
> the crappy IIS outperforms my beloved Apache? Is it true to some
extent
> or is it just another FUD???
>
It's true to a certain extent. Part of the question is was that on
single or the number of cpus on a multi-cpu system.
IMO a OS like Linux will undoubtfully beat a multithreaded OS because
of less system overhead. On 2 cpus Linux and, depending on the app,
could hold its own. Past 2 cpu it has no chance.
And this may not be a bad thing if your only trying to compete in the
low-end server market.
cheers.
--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---
------------------------------
From: "Sergei O. Naoumov" <[EMAIL PROTECTED]>
Subject: neighboor table
Date: 19 May 1999 14:30:40 GMT
Hi!
I just freshly installed RH 6.0 and occasionally I see this message:
"neighboor table overflow"
What does it mean?
Thanks,
Sergei
------------------------------
From: Carl Waring <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.setup
Subject: ISDN Modem recommendations
Date: Wed, 19 May 1999 16:18:09 +0100
We are finally switching over to ISDN for our dial-up email
connections. Can anyone suggest a suitable modem. The system is a Dell
Poweredge 2300 with Red Hat running on it. From what I can remember I
have to steer away from win-modems. I would also like an external modem
because I can then see what is going on.
cw
email to me or prefer to
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Charles E Taylor IV)
Subject: Re: New Star office for glibc 2.1
Date: Wed, 19 May 1999 19:34:30 -0400
In article <[EMAIL PROTECTED]>,
Fred Kuipers <[EMAIL PROTECTED]> writes:
> Nuts :-(
Anyway, SO 5.1 is out now. Maybe that works better with the new
Redhat?
--
========================================================
Charles E Taylor IV <[EMAIL PROTECTED]>
========================================================
Visit me on the web!
http://orangesherbert.ces.clemson.edu
========================================================
------------------------------
From: Brian Wallace <[EMAIL PROTECTED]>
Subject: Re: information on "how to make a bootable linux cdrom"... or?
Date: Wed, 19 May 1999 11:00:54 -0400
On 13 May 1999, TedC wrote:
> i am looking for information on creating bootable linux cdroms. i am using
> EasyCD Creator under windows 95. any information will be appreciated...
>
> TedC
> ------------------ Posted via SearchLinux ------------------
> http://www.searchlinux.com
First thing we (anyone answering you) need to know is bootable under what
OS? I'm guessing linux, I forget the method but there is a FAQ somewhere
on it that I've read. There are two methods, one is to make it a linux
filesystem (ext2 or minix) the other is the 'bootable' format that is part
of EasyCD Creator (at least the version I have).
------------------------------
From: Hawke <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux,comp.os.linux.help,comp.os.linux.questions,comp.os.linux.setup
Subject: Re: URGENT: How to download Red Hat 6???
Date: Wed, 19 May 1999 08:04:15 -0700
==============511169359C40980D522309A6
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Thats a known bug in cuteftp.
In fact, a number of ftp clients seem to do this.
if you happen to have a small linux copy on hand, try using it with some
of the built in programs (like gftp or ncftp). these generally will
keep the link file and allow you to DL the dir structure intact.
Hawke
Kelson Cheng wrote:
> Hey! Anyone downloads RedHat 6 from its ftp site?
> What do you use to download it?
> I'm using cuteFTP and it keeps resolving those symbolic links and keep
> repeating downloading the same files a couple times!!!
> Eg. 'cat' is a link in usr/bin, but it keeps resolving its location and
> download the real 'cat' program!!
> Can anyone help me?? Thanks
>
> Kelson
--
=NOTICE TO BULK E-MAILERS PLEASE READ THIS BEFORE BULK E-MAILING THIS ADDRESS=
Pursuant to US Code, Title 47, Chapter 5, Subchapter II, p.227, any and all
non-solicited commercial E-mail sent to this address is subject to a
download and archival fee in the amount of $500 US. Anyone who sends
unsolicited commercial e-mail to this account will be charged a $500
proofreading fee. Consider this official notification. Failure to abide
by this will result in legal action.
For a complete summary of this Legislation see
http://thomas.loc.gov/cgi-bin/bdquery/z?d105:SN01618:@@@D
==============511169359C40980D522309A6
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<body text="#000000" bgcolor="#FFFFFF" link="#0000FF" vlink="#FF0000" alink="#000088">
Thats a known bug in cuteftp.
<br>In fact, a number of ftp clients seem to do this.
<br>if you happen to have a small linux copy on hand, try using it with
some
<br>of the built in programs (like gftp or ncftp). these generally will
<br>keep the link file and allow you to DL the dir structure intact.
<p>Hawke
<p>Kelson Cheng wrote:
<blockquote TYPE=CITE>Hey! Anyone downloads RedHat 6 from its ftp site?
<br>What do you use to download it?
<br>I'm using cuteFTP and it keeps resolving those symbolic links and keep
<br>repeating downloading the same files a couple times!!!
<br>Eg. 'cat' is a link in usr/bin, but it keeps resolving its location
and
<br>download the real 'cat' program!!
<br>Can anyone help me?? Thanks
<p>Kelson</blockquote>
<pre>--
=NOTICE TO BULK E-MAILERS PLEASE READ THIS BEFORE BULK E-MAILING THIS ADDRESS=
Pursuant to US Code, Title 47, Chapter 5, Subchapter II, p.227, any and all
non-solicited commercial E-mail sent to this address is subject to a
download and archival fee in the amount of $500 US. Anyone who sends
unsolicited commercial e-mail to this account will be charged a $500
proofreading fee. Consider this official notification. Failure to abide
by this will result in legal action.
For a complete summary of this Legislation see
<A
HREF="http://thomas.loc.gov/cgi-bin/bdquery/z?d105:SN01618:@@@D">http://thomas.loc.gov/cgi-bin/bdquery/z?d105:SN01618:@@@D</A></pre>
</body>
</html>
==============511169359C40980D522309A6==
------------------------------
From: Chris Sorenson <[EMAIL PROTECTED]>
Subject: Re: Non-destructive partioning of linux partition?
Date: Tue, 18 May 1999 14:11:37 -0500
benjamin mullin wrote:
> Hello,
>
> Maybe this is a stupid question, but is there a way to repartion a linux
> partition without having to wipe it clean?
Um, I assume you mean that you want to resize or split a Linux native
partition without destroying all the data. There are a couple of ways, you
can use fips (see http://www.igd.fhg.de/~aschaefe/fips/), or you can use
PowerQuest's Partition Magic 4.0 (commercial software).
> Addionally, can you share a
> swap partition between two linux installations?
Sure! I do it all the time (between Slackware and Caldera). Of course, I do
it on a single system. You can't do it (for example using NFS) and have
both OS's active on separate hosts at the same time.
------------------------------
From: "Carl Engstrom" <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.development.system,comp.os.linux.hardware,comp.os.linux.help,comp.os.linux.m68k,comp.os.linux.networking,comp.os.linux.powerpc,comp.os.linux.questions
Subject: We Need Good Unix Programmers!
Date: Thu, 20 May 1999 04:20:29 GMT
Sorry, about all of the Cross-Posts, I'll only do this once...
I work for a company that is looking very hard for good Unix programmers.
People who understand and can program to the very core levels of the Unix
operating system (drivers, kernel etc...). We have a huge development
initiative underway and our HR dept. can't find the talent to fill the
desks. We're based in Southern California, but there's nothing saying that
we can't hire people part-time or full-time from anywhere.
Please send your responses with resume to:
Carl Engstrom
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED]
Subject: gcc ?
Date: 19 May 1999 11:06:09 -0400
Is there a way to allow #defines to start with a number,
i.e. #define 100_xxx 100
gcc 2.7.2.3 chokes on this where it used to just about a warning...
For reasons I rather not go into, I like to maintain compatability
with 2.7.2.1 which had this behavior
--
Tom Evans
------------------------------
From: [EMAIL PROTECTED] (William Wueppelmann)
Subject: Re: The Vi Lovers Home Page
Date: Wed, 19 May 1999 15:15:49 GMT
In our last episode (18 May 1999 02:56:12 GMT),
the artist formerly known as Scott Lanning said:
>D. J. Birchall ([EMAIL PROTECTED]) wrote:
>: * It understands regular expressions and supports them in global
>:search and replace operations.
>
>So does emacs. ESC-*
>(What are some cool vi things; I'm seriously curious.)
Vi is fast and efficient. It edits text, and that is all, but it does it
very well. There are only about a hundred vi commands, making it easier to
learn than emacs, and each command is a single keystroke. It is modal,
allowing it to avoid using too many modifier keys or keys outside the main
key cluster (in fact, you don't ever need to use any key outside the main
cluster, and the only modifier keys you ever need to use are shift (for
entering uppercase characters) and control (for switching modes, deleting
characters and words, shifting text from within insert mode, and a few
others). It provides efficient and flexible interaction with other
applications, allowing you to use programs like ispell, fmt, tr and others
to modify an active document.
Basically, it does one thing, and it does it very well. In short, it's a
traditional Unix program, and so its cool for the same reasons that grep,
tr, sed or tee are cool: they're simple but highly flexible.
Not that I despise emacs or anything, but it just tries to do too much for
my taste. I much prefer the approach that uses numerous simple but highly
adaptable tools to accomplish a job.
--
It is pitch black.
You are likely to be spammed by a grue.
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.hardware
Subject: Re: DDS-3 DAT drive
Date: Wed, 19 May 1999 15:01:32 GMT
In article <[EMAIL PROTECTED]>,
Chris Mauritz <[EMAIL PROTECTED]> wrote:
> In comp.os.linux.misc Rod Roark <[EMAIL PROTECTED]> wrote:
> > Chris Mauritz <[EMAIL PROTECTED]> wrote:
> >>What's the secret to getting a DDS-3 DAT drive to work with linux?
> >>I've tried reading/writing tapes with Redhat 5.2 and Redhat 6.0
> >>using an HP and a Seagate drive without success.
> >>
> >>When I try to read/write tapes, I get:
> >>
> >>tape read error: Input/output error
> >>
> >>I've compiled SCSI tape support into the kernel (tried both 2.0.36
and
> >>2.2.9) and made sure the device files (/dev/nst0 /dev/st0) exist.
Do you have 'st' (SCSI Tape) support either compiled-in or as a
loadable module. Check it with 'lsmod'. There should be some
relevant entries in '/proc', too.
Also, you can use 'script' to capture output to a file then edit and
post it. Include 'dmesg', 'lsmod', exact error message given, ... .
--
Louis-ljl-{ Louis J. LaBash, Jr. }
--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---
------------------------------
From: Mihaly Gyulai <[EMAIL PROTECTED]>
Subject: Re: Amaya: works only with local files ?
Date: Fri, 14 May 1999 11:22:15 GMT
In article <7hglvo$n69$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> > Is Amaya capable of viewing the Internet or not ?
> > Anyone use Amaya for browsing the Net ?
> Yes, it's no problem. But you have to explicitly write the protocol.
> So, instead of writing `www.w3c.org' you have to type
> `http://www.w3c.org/'
> ^^^^^^^
> I think, this should solve your problem.
Unfortunately not... :( But thanks for the advice...
Amaya says : 'Cannot load http://freshmeat.net/'
Strange... (Anyway, I can use the Net with Netscape or with Lynx...)
--
Mihaly Gyulai
http://www.freeyellow.com/members5/gyulai/
--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---
------------------------------
From: "Mage..." <[EMAIL PROTECTED]>
Subject: Re: Using another partition mounter under /
Date: 20 May 1999 04:08:58 GMT
As best I can tell, you have all directories on the same partition, such as
/dev/hda2, with /dev/hda1 as the swap. Now, you want to install another
disk and move items there from somewhere else. If I am right, the only
thing I could think of would be to mount the new partition someplace, like
/mnt/new or something like that, copy all of the files to it, remove the
old directory (maybe just mv it so it's not toasted, just in case the new
partition thing doesn't work out) remember, you cannot do this with
directories that are needed to run things, like /bin /sbin /lib or anything
like that. Also, TURN OFF EVERY PROCESS/DAEMON RUNNING THAT YOU CAN. If you
move /home/samba while samba is running, Samba would be royally pissed,
same way with Apache!
Now, where was I? Oh yeah, now that you have copied every file to this new
location, I would say your best bet would be to edit /etc/fstab and enter
in a line much like
/dev/hdb1 /home ext2 defaults 1 1
This would make the 1st partition of the second hard drive the /home
directory, using the ext2fs file system (basic file system of GNU/Linux),
and the defaults and 1 and 1 would mount it at bootup, so you wouldn't miss
em!
Oh yeah, since I haven't tried this myself, I could be just blowin smoke!
It does make sense though, but you need to be careful that no running
processes, files, or libraries are being messed with, this causes bad
things!
Take care and have fun, the worst that could happen is that you have to
reinstall, just like if you rm -rf /temp (don't assume that /temp in
GNU/Linux is the same as /temp in Windoze, not a good idea!).
Have fun
Mage...
--
Well, look at that. Breach hull, all die.
Even had it underlined.
Crow, MST3K the movie
------------------------------
From: Marc Slemko <[EMAIL PROTECTED]>
Crossposted-To: comp.infosystems.www.servers.unix,comp.os.linux.advocacy
Subject: Re: NT the best web platform?
Date: Thu, 20 May 1999 04:32:45 GMT
In <7hvi1f$b2v$[EMAIL PROTECTED]> [EMAIL PROTECTED] (Benoit
Goudreault-Emond) writes:
>Then again, NT caches files as well, so the OS cache should be about
>equivalent. However, the webserver knows better what to cache (or so one
>would think), so it might reserve away memory that would be used for caching
>some other stuff. IIS does that, AFAIK, but Apache doesn't. Hence my
>comment.
In fact, the OS is really the thing that knows the best about caching and
that is by far best suited to cache things.
For a benchmark with a fixed relatively small set of files, you can often
(but not always) get the best performance by simply caching the contents
in memory in your web server.
In more complex and more real world situations, when you have to
have a balance between various uses of memory, larger data sets, etc.
that is what a good VM system does for you. In addition, it lets you
more easily (in some cases) avoid copys when doing IO if it is from
kernel memory to the network.
Now, you still can use a cache (eg. file descriptor cache), but caching
the data isn't necessarily the thing to do.
------------------------------
From: [EMAIL PROTECTED] (&��������~Chameleon~&��������)
Crossposted-To: alt.linux,alt.os.linux,comp.os.linux.setup
Subject: Re: Kernel 2.2.3 mystery
Reply-To: [EMAIL PROTECTED]
Date: Wed, 19 May 1999 15:21:30 GMT
On Tue, 18 May 1999 06:09:38 GMT, The Man <[EMAIL PROTECTED]>
wrote:
> I recently upgraded from kernel 2.0.36 to 2.2.3. I have the following
>questions:
>1) With kernel 2.0.36 my parallel port/printer is detected at /dev/lp1,
>and at /dev/lp0 with kernel 2.2.3. Why?
>
>2) I've changed the symbolic link /dev/mouse from /dev/cua0 to
>/dev/ttyS0. The permissions are different for cua0 and ttyS0;
>cua0: crwxrw---- (I think)
>ttyS0: crwxr--r--
>Should I change the permissions for ttyS0? Why/Why not?
>
>Martin
1) That's the way it was supposed to be all along! cua0=com1
cua1=com2, so lp0=lpt1 and lp1 would = lpt2 if you have one.
2) Originally cua? was specific to modems, i think. Some distribution
have changed this.
Why did you change to ttyS0 if it worked with cua0? You have a serial
mouse?
If it works don't fix it.
��������������������������������������������������������������������
&��������~Chameleon~&��������
��������������������������������������������������������������������
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list (and comp.os.linux.misc) via:
Internet: [EMAIL PROTECTED]
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Misc Digest
******************************