Linux-Misc Digest #671, Volume #27               Sat, 21 Apr 01 15:13:02 EDT

Contents:
  Re: A Linux emulator for Linux, does this exist? (SammyTheSnake)
  Re: Which distro for 2.4.x ? ("Peter T. Breuer")
  Thunderbird 900 + Asus A7KT133 + Linux? ([EMAIL PROTECTED])
  Re: How to install XF 3.3.6 w/ Mandrake 8.0 ? ("Troy Jesse")
  Re: Hello,there. (E J)
  Re: linux - operating system (Sean)
  Re: Question about Strange Report of Disk Space,thanks. (Dave Uhring)
  Re: RAID 5 or 0 for performance? (Dan Smith)
  Re: RAID 5 or 0 for performance? ("Ron Reaugh")
  MySQL Problem. (Jack Pan)
  Re: Firewire scanner (E J)
  Re: Reliability of "time" command? (Francis Litterio)
  Re: Reliability of "time" command? (Francis Litterio)
  Re: Reliability of "time" command? (SammyTheSnake)
  Re: Thrashing HD (SammyTheSnake)
  Re: How to install XF 3.3.6 w/ Mandrake 8.0 ? (Arctic Storm)
  Re: Question about Strange Report of Disk Space,thanks. (Francis Litterio)
  Re: MySQL Problem. (Joe)
  error when mounting FAT32 partition: kernel: fatfs: bogus cluster size (Carsten 
Cimander)
  Re: Could Linux be used in this factory environment ? ("Erik Funkenbusch")
  Re: Reliability of "time" command? ("Peter T. Breuer")
  Re: problem with gnome-terminal after upgrade ("Alex Ramos")

----------------------------------------------------------------------------

From: [EMAIL PROTECTED] (SammyTheSnake)
Crossposted-To: comp.os.linux.development.system,comp.os.linux.hardware
Subject: Re: A Linux emulator for Linux, does this exist?
Date: Sat, 21 Apr 2001 16:15:37 +0100

In article <9bkcra$5u0$[EMAIL PROTECTED]>, Philip Armstrong wrote:
>In article <[EMAIL PROTECTED]>,
>Jonadab the Unsightly One <[EMAIL PROTECTED]> wrote:
>>How much does a 390 cost?
>
>How long is a piece of string ?
>
>:)
>
>I'm told IBM mainframe pricing is of the "turn them upside and shake
>them until all the spare money falls out" variety, but having never
>been in a position to actually want or need one of the beasts, I can't
                                ^^^^
don't trust this man! he's lying! ;)

Cheers & God bless
SammyTheSnake
-- 
Sam.Penny @ Ntlworld.com                  | Looking for a computer related
Linux, Hardware & Juggling specialist :-) | job, if you can help, e-mail me :)
Wheels: bike, 'ickle bike, and unicycle.  | /o \/ 
Boxen: K6-266@300, dual Celery500 & Nx486 | \__/\

------------------------------

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Which distro for 2.4.x ?
Date: Sat, 21 Apr 2001 18:42:42 +0200

Christian Rose <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
>> Based on the releases since that time, there is little evidence that
>> the hiring took place

> Uh, what is your statement based upon? Popular opinion?

Presumably, like mine, long experience.

> Red Hat 7 was rock solid, more solid than any Red Hat release I had ever

And infinitely crackable. Holed in rstatd, ftpd, bind and a few mre
places. Probably also crackable from the console via ^C in the boot
process after an interrupted fsck. I don't know about the "rock solid",
though. None of my executables would run on it! (compiler-induced
binary incompatibility). Is IBCS still around?

> tried before. Red Hat 7.1 seems to be even more polished.

Seems to be? Have you tested it? Have you tested the installation
process, the configuration process, the maintenance process? Have
you tried both normal modes and stress mode tests? Have you tested
for the presence of old bugs (regression)?  Etc. Etc.

Simply sitting there doing what 99% of other users are doing is not
"testing". While I suppose the beta test program tries to pick a wide
spectrum of users, I wish they'd also supply training on "testing".

Peter

------------------------------

From: [EMAIL PROTECTED]
Subject: Thunderbird 900 + Asus A7KT133 + Linux?
Date: 21 Apr 2001 16:58:29 GMT


Hello all,

I'm looking into putting together the following system using Mandrake 8.0 (2.4
Kernel):
- AMD Thunderbird 900MHz (or 1GHz)
- ASUS A7KT133 mobo
- PC133 RAM (128MB)
- any 30G ATA100 HD

I have heard of ATA100 woes with linux 2.2. Does anyone have similar system
up and running?
Is this an issue with 2.4 Kernel (Mandrake 8.0 or RH 7.1)?
Is there anything I should watchout for? I would like to consider above mobo
model than A7M266 mainly because of pricing. Even this is pushing my student 
budget!
Any pointers would be MUCH appreciated?

Cheers,
-Thas

 -----  Posted via NewsOne.Net: Free (anonymous) Usenet News via the Web  -----
  http://newsone.net/ -- Free reading and anonymous posting to 60,000+ groups
   NewsOne.Net prohibits users from posting spam.  If this or other posts
made through NewsOne.Net violate posting guidelines, email [EMAIL PROTECTED]

------------------------------

From: "Troy Jesse" <[EMAIL PROTECTED]>
Subject: Re: How to install XF 3.3.6 w/ Mandrake 8.0 ?
Date: Sat, 21 Apr 2001 00:02:34 -0500

It sure does, at least when I installed it last night.

TJ

"Arctic Storm" <[EMAIL PROTECTED]> wrote in
message news:6A6E6.4536$[EMAIL PROTECTED]...
> I have one of the Trident video cards that don't work with XFree86 4.x, so
> I must use XFree86 3.3.6.
> I would still like to install Mandrake 8.0.
> During installation, does Mandrake 8.0 give an option for XF 3.3.6?
> Any "easy" suggestions?
>



------------------------------

From: E J <[EMAIL PROTECTED]>
Subject: Re: Hello,there.
Date: Sat, 21 Apr 2001 17:15:50 GMT

Don't know about System Management, but for System Monitoring there is Big
Sister (I tried it, works
great if you know perl) and Saint (I have not tried it).

somez72 wrote:

> Hello,
> does Someone knows is there System Monitoring and System Management tools
> that is running on Linux for Linux/Unix server , Oracle server , Web server
> , and so on.
>
> Where can I find it?
> any information is good to me, please tell me.
>
> I don't know where should I wirte down this kind of question.
> is there good place to ask this question , please let me know.
>
> Thank you for your time.
> -- SH Lee --


------------------------------

From: Sean <[EMAIL PROTECTED]>
Subject: Re: linux - operating system
Date: Sat, 21 Apr 2001 18:12:38 +0100

http://www.google.com/linux may be more specific!

Kwan Lowe wrote:
> 
> bansi <[EMAIL PROTECTED]> wrote:
> > i am doing a project on linux.. and have to cover the following topics.. i
> > wanted to know where exactly i would find information on these topics...
> 
> > LINUX :
> > 1. history
> > 2. development
> > 3. features
> > 4. releases
> > 5. system organization and command reference
> >            -- kernel and shells
> >                     - types and releases
> > 6. introduction to KDE
> >            -- development and features
> >            -- application
> > 7. other GUI managers
> > 8. process mangement
> > 9. memory management
> > 10. shell management
> 
> > i would really appreciate it if you could mail me the lists of the sites
> > where i could find information on these topics. this is kind of urgent and
> > very very important. thank you so much!
> 
> Try www.google.com.  They have a huge list of Linux sites. You can search by
> keyword also. E.g., "Linux history" or "Introduction to KDE".

------------------------------

From: Dave Uhring <[EMAIL PROTECTED]>
Subject: Re: Question about Strange Report of Disk Space,thanks.
Date: Sat, 21 Apr 2001 12:19:14 -0500

harrison wrote:

> Hi, there:
> 
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/sda1             1.2G  551M  571M  49% /
> 
> /dev/sda6             4.7G  4.4G     0 100% /home
> 
> /dev/sda7             1.2G  106M 1015M   9% /var
> 
> I dont know why available space on /home is 0, it should be 300M left ,
> right ?
> 
> Any Help will be greatly appreciated
> 
> Harrison Teng
> 
> 

tune2fs(8)


------------------------------

From: Dan Smith <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.periphs.scsi
Subject: Re: RAID 5 or 0 for performance?
Date: 21 Apr 2001 12:49:51 -0400

OK, how do I enable spindle sync?

------------------------------

From: "Ron Reaugh" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.periphs.scsi
Subject: Re: RAID 5 or 0 for performance?
Date: Sat, 21 Apr 2001 17:23:17 GMT


Dan Smith wrote in message ...
>OK, how do I enable spindle sync?


Get the spec sheet for the drive and find the spindle synce jumper for the
drive.



------------------------------

From: Jack Pan <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: MySQL Problem.
Date: Sat, 21 Apr 2001 17:29:38 GMT

Hi
    This is my problem with mysql. when I run mysql as root. everything
is so fine. but when I try to run mysql as an user. say joe.  I already
add user account joe in the mysql database. it gives me a error message.

    Warning: MySQL Connection Failed: Can't connect to local MySQL
server through socket '/var/lib/mysql/mysql.sock' (111).

Anyone has any idea of how to solve this problem? Thank U

Jack


------------------------------

From: E J <[EMAIL PROTECTED]>
Subject: Re: Firewire scanner
Date: Sat, 21 Apr 2001 17:32:57 GMT

Any distro with kernel 2.4.x  should have firewire support.
The Umax scanner might use the same scanning commands as the other Umax
scanners.
If you are an Ace Programmer :) you should able with the firewire and the
sane source code make the
Umax scanner work and if you are nice, you can redistribute it back to sane
so we can all benefit.

"Nick K. Aghazarian" wrote:

> Anyone get a firewire scanner to work under linux (any distro)?  I have
> a Umax 6400, and would love to use it without having to reboot to windows.
> Sane doesn't seem to support it, and makes it sound like it never will.
>
> Any help is greatly appreciated,
>
> Nick


------------------------------

From: Francis Litterio <[EMAIL PROTECTED]>
Subject: Re: Reliability of "time" command?
Date: Sat, 21 Apr 2001 17:32:45 GMT

MH writes:

> Francis Litterio wrote:

> > MH, how much data is being transferred between these disks and just how
> > long does it take (according to the "time" command)?
> 
> 7 GB and 2.5 GB at ~16 minutes

For the 7 GB transfer, you're getting a transfer rate of about:

        (7 * 1024) / (16 * 60) = 7.46 MB/s

which is on the slow side for SCSI disks.  For the 2.5 GB transfer that
rate drops to a ridiculously low:

        (2.5 * 1024) / (16 * 60) = 2.66 MB/s

which is well below decent SCSI transfer rates.  Neither the SCSI disks,
SCSI bus, nor PCI bus moves data that slowly.  I suspect the bottleneck
is in software.  Some questions:

o  Are the disks connected to the the same SCSI host adapter?

o  If so, is it a single-bus or dual-bus controller?

o  If dual-bus, are the disks on the same bus or different buses?

o  What user-space application are you using to perform the transfer?

o  Does the application use raw disk devices (e.g., /dev/raw/...),
   filesystem block devices (e.g., /dev/sda), or directory names (e.g.,
   /disk1)?

o  If the command uses block devices or directories, is the destination
   filesystem mounted with the "sync" option?

--
Francis Litterio
[EMAIL PROTECTED]
PGP public keys available on keyservers.

------------------------------

From: Francis Litterio <[EMAIL PROTECTED]>
Subject: Re: Reliability of "time" command?
Date: Sat, 21 Apr 2001 17:40:13 GMT

MH <[EMAIL PROTECTED]> writes:

> As a comparison, I ran "time" on the "du" command for each system, thus:
> 
> time du -s /
> 
> For the larger data source (~7 GB) "du" reported 8.95s
> For the smaller data source (~2.5 GB) "du" reported 4.63s

I'm not sure these numbers bear any relation to the disk cloning anomaly.
The du command doesn't read all the data from the disk (as happens when
you clone a disk).  Plus, these numbers are biased by the filesystem
buffer cache.  In fact, the buffer cache will bias any I/O speed
measurement (except maybe for a full read of the entire disk using its
block device, because there should be no cache hits in that case).

Just my $.02.
--
Francis Litterio
[EMAIL PROTECTED]
PGP public keys available on keyservers.

------------------------------

From: [EMAIL PROTECTED] (SammyTheSnake)
Subject: Re: Reliability of "time" command?
Date: Sat, 21 Apr 2001 18:15:11 +0100

In article <[EMAIL PROTECTED]>, MH wrote:
>I recently posted a question asking how to measure elapsed time in Linux.  
>I was told to use the "time" command.  Experimenting with some trivial 
>commands, it looked to be just the ticket.  So I modified the cron scripts 
>I use to clone my system drives and discovered something very strange.  
>Both scripts took almost *exactly the same time* to complete, even though 
>one box was running a CPU at 400 MHz and the other at 800 MHz.  Both boxes 
>have 256 MB PC100 ECC RAM.  Furthermore, the box with the slower CPU is 
>transferring nearly 3 times as much data!!!
>
>Both boxes have identical HDD subsystems, specifically, both use Adaptec 
>2940 UW SCSI controllers to manage a pair of IBM 9.1 GB 7200 RPM HDDs (one 
>system, one clone).  The controllers are set up identically, even using the 
>same version of firmware.  Both boxes are running the 2.2.19 kernel.
>
>I would be interested if anyone can explain this apparent anomaly.


I didn't read the earlier post, but it sounds to me like your script is
simply not a CPU bound task...

Cheers & God bless
SammyTheSnake
-- 
Sam.Penny @ Ntlworld.com                  | Looking for a computer related
Linux, Hardware & Juggling specialist :-) | job, if you can help, e-mail me :)
Wheels: bike, 'ickle bike, and unicycle.  | /o \/ 
Boxen: K6-266@300, dual Celery500 & Nx486 | \__/\

------------------------------

From: [EMAIL PROTECTED] (SammyTheSnake)
Subject: Re: Thrashing HD
Date: Sat, 21 Apr 2001 18:20:52 +0100

In article <[EMAIL PROTECTED]>, Dave Brown wrote:
>In article <[EMAIL PROTECTED]>, John Scudder wrote:
>>>
>>> This is hardly going to take more than 5 minutes. He says it goes on
>>> forever! Perhaps he should have a look with "top" to see what is
>>> running.
>>
>>My Mandrake Linux machine does exactly the same thrashing after 15 minutes..  I
>>ran 'gtop' to find the culprit and found that 'slocate' was taking a good
>>portion of my CPU time.  The trashing usually stops after 5 minutes, I have
>>learned to live with it but would like to know if I really need to have this
>>run each night.
>
>See my previous answer.  ( The slocate command is a replacement for 
>updatedb. )  As I said before, it is being started by anacron.  And, 
>no, you needn't run it every night.  You could move the file slocate.cron 
>from /etc/cron.daily to /etc/cron.weekly.  Or if you never use the "locate" 
>command, remove it altogether. 

perhaps you could just edit the script to run slocate with a nicer nice
value?

eg  nice -10 slocate --all-your-command-line-options-here

so that your computer is more responsive while it's running?

Cheers & God bless
SammyTheSnake
-- 
Sam.Penny @ Ntlworld.com                  | Looking for a computer related
Linux, Hardware & Juggling specialist :-) | job, if you can help, e-mail me :)
Wheels: bike, 'ickle bike, and unicycle.  | /o \/ 
Boxen: K6-266@300, dual Celery500 & Nx486 | \__/\

------------------------------

From: Arctic Storm <[EMAIL PROTECTED]>
Subject: Re: How to install XF 3.3.6 w/ Mandrake 8.0 ?
Date: Sat, 21 Apr 2001 17:58:32 GMT

> > > > I have one of the Trident video cards that don't work with XFree86
> > > > 4.x, so I must use XFree86 3.3.6.
> > > > I would still like to install Mandrake 8.0.
> > > > During installation, does Mandrake 8.0 give an option for XF 3.3.6?
> > > > Any "easy" suggestions?
> > >
> > > Looks like the 3.3.6 release is still available from ftp.xfree86.org
> > > and its mirrors, I'd suggest installing Mandrake with no XFree86
> > > and then downloading the XFree86 tarballs and installing by hand.
> > > (I know nothing about Mandrake's install, so I don't know if they
> > > allow you to do 3.3.6.)
> > 
> > The problem I'm having is that Mandrake 8.0 automatically installs
> > XFree86
> > 4.0.3.  I tried installing the system in "expert" mode, but XF still
> > installs automatically, and I cannot stop it, and afterwards, it tries
> > to configure X automatically, and that's where the computer crashes.
> 
> You can configure XFree86-4 yourself.  At the console
> 
> # XFree86 -configure
> 
> will leave XF86Config-new in /root.  Edit this file regarding the mouse
> for
> the proper protocol for your mouse and /dev/psaux (?).  Copy the file to
> /etc/X11/XF86Config-4.
> 
> You can fine-tune the config file using xf86cfg.

You may have misunderstood my question.  During installation, the automatic 
XFree86 4.0.3 configuration crashes.  The installation never completes.  If 
I could just find an option to choose XFree86 3.3.6 during intallation, but 
I couldn't find it.




------------------------------

From: Francis Litterio <[EMAIL PROTECTED]>
Subject: Re: Question about Strange Report of Disk Space,thanks.
Date: Sat, 21 Apr 2001 18:00:53 GMT

Dave Uhring <[EMAIL PROTECTED]> writes:

> harrison wrote:

> > Filesystem            Size  Used Avail Use% Mounted on
> > /dev/sda1             1.2G  551M  571M  49% /
> > /dev/sda6             4.7G  4.4G     0 100% /home
> > /dev/sda7             1.2G  106M 1015M   9% /var
> > 
> > I dont know why available space on /home is 0, it should be 300M left ,
> > right ?

> tune2fs(8)

In fairness, if one doesn't know that the ext2 filesystem reserves about
5% of the data blocks for use only by user root, that man page is pretty
cryptic.

Do this test -- as root type this command:

        dd if=/dev/zero of=/home/zzz bs=1024 count=40960

which creates a 40 MB file in /home.  If that succeeds and df shows the
usage of /home to be over 100% (you should see "101%"), then the
filesystem is reserving 5% of the data blocks for root to use.

Now you should read the tune2fs man page to find out how to change that
5% value (I think you want to use the "-m" option).
--
Francis Litterio
[EMAIL PROTECTED]
PGP public keys available on keyservers.

------------------------------

From: [EMAIL PROTECTED] (Joe)
Subject: Re: MySQL Problem.
Date: Sat, 21 Apr 2001 11:03:21 -0700

In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] 
says...
> Hi
>     This is my problem with mysql. when I run mysql as root. everything
> is so fine. but when I try to run mysql as an user. say joe.  I already
> add user account joe in the mysql database. it gives me a error message.
> 
>     Warning: MySQL Connection Failed: Can't connect to local MySQL
> server through socket '/var/lib/mysql/mysql.sock' (111).
> 
> Anyone has any idea of how to solve this problem? Thank U
> 
> Jack
> 
> 

See if this solves your problem: 
http://www.mysql.com/doc/C/h/Changing_MySQL_user.html

------------------------------

From: Carsten Cimander <[EMAIL PROTECTED]>
Subject: error when mounting FAT32 partition: kernel: fatfs: bogus cluster size
Date: Sat, 21 Apr 2001 20:11:31 +0200

Hi all,

I installed SuSE Linux 7.1 (kernel 2.4.0) on my box.
Using the preconfigured Icon "Windows_C" on my desktop I manage to mount

/dev/hda2 as vfat successfully:
# mount
...
/dev/hda2 on /windows/C type vfat (rw,noexec,nosuid,nodev,user=me)
...

When trying the same with /dev/hda7 supposed to be /windows/D i failed
getting the error:
kernel: fatfs: bogus cluster size
kernel: VFS: Can't find a valid MSDOS filesystem on dev 03:07

Many thks for your help,

regards,
Carsten


------------------------------

From: "Erik Funkenbusch" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy,comp.os.linux.hardware
Subject: Re: Could Linux be used in this factory environment ?
Date: Sat, 21 Apr 2001 13:41:17 -0500

"Charles Lyttle" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Erik Funkenbusch wrote:
> >
> > "Charles Lyttle" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]...
> > > Mind you, I can't vouch for the accuracy of that report. But is was
> > > offered as proof that the crash  wasn't the fault of the OS. "It was a
> > > misbehaving application that caused the OS to crash." The Navy had to
> > > clear the OS or justify to congress why it insisted on MS when most
> > > contractors were saying it couldn't (or shouldn't) be done. The
> > > contractor had to clear the OS because he promised that it could be
> > > done. But he was late, and the Navy had to either cancel a test at a
> > > loss of millions, or go to test with a beta version. So the vendor
says
> > > "we were only a little late, if they had just waited a few more days".
> >
> > This is all completely untrue.
> >
> > Read all the info collected by Jerry Pournelle on the issue
> > http://www.jerrypournelle.com/reports/jerryp/Yorktown.html
> >
> > The contractor in question also stated specifically that the navy had
gone
> > against their recomendation of installing newer software that didn't
have
> > the problem PRIOR to the event.
> > http://www.sciam.com/1998/1198issue/1198techbus2.html
> >
> > "... the fault was with certain applications that were developed by CAE
> > Electronics in Leesburg, Va. As Harvey McKelvey, former director of navy
> > programs for CAE, admits, "If you want to put a stick in anybody's eye,
it
> > should be in ours." But McKelvey adds that the crash would not have
happened
> > if the navy had been using a production version of the CAE software,
which
> > he asserts has safeguards to prevent the type of failure that occurred.
"
> >
> > You should also read the original article which is the source of all
this:
> > http://www.usni.org/Proceedings/digiorgio.htm
> >
> > Notice that in an article of great length, only 2 paragraphs are devoted
to
> > NT, and none of the say the OS crashed.
> >
> > Further, the same author that wrote the gcn article (which quotes from
the
> > usni article) also clarifies his statements in a followup article:
> > http://www.gcn.com/archives/gcn/1998/november9/6.htm

> That last one is even worse than my story. A divide by zero in the
> controller for a fuel valve caused the entire LAN to go down crashing 27
> remotes?

The navy uses different terminology than the rest of the industry.  To them,
the "LAN" is their networked application, not the OS or hardware it's
running upon.  When the database contained invalid data, the applications
running on the remotes all crashed as well, thus causing a Local Area
Network failure.

> Industry (mostly) fixed that problem 30 years ago. For what its
> worth, I had an NT machine I was working with bring down an entire LAN
> of over 1000 machines. It was called the "ping of death". Some
> applications could cause the NT software to start issuing network pings
> at high speed. These faults often also caused a BSOD, but not always.

Ping of death was a specific type of exploit that needed special, invalidly
formed packets to work.  There was no way to cause normal applications to
generate POD packets.

Unix also suffered from this bug.




------------------------------

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Reliability of "time" command?
Date: Sat, 21 Apr 2001 20:32:28 +0200

Francis Litterio <[EMAIL PROTECTED]> wrote:
> MH <[EMAIL PROTECTED]> writes:

>> As a comparison, I ran "time" on the "du" command for each system, thus:
>> 
>> time du -s /
>> 
>> For the larger data source (~7 GB) "du" reported 8.95s
>> For the smaller data source (~2.5 GB) "du" reported 4.63s

> I'm not sure these numbers bear any relation to the disk cloning anomaly.

Indeed .. it's just reading the filesystem metadata. However, I can
probably give him some comparisons. 

  P450, intel 810 mobo, 128MB ram, symbios 10MB/s ultra scsi controller
  holding 4 1996 vintage quantum fireball 1.28GB disks (which do about
  7.5MB/s), ext2fs filesystem, 2.2.15 kernel:

  first time (1.37GB in 2 mins 53s wall time, 3.87s cpu time)

    oboe:/usr/oboe/ptb% time du -sx .
    1372582 .
    0.390u 3.480s 2:53.33 2.2% 0+0k 0+0io 95pf+0w

  second time (1.37GB in 2.94s wall time, 2.82s cpu time)
    oboe:/usr/oboe/ptb% time du -sx .
    1372599 .
    0.270u 2.550s 0:02.94 95.9% 0+0k 0+0io 94pf+0w

so you can see that caches play a large part in the experiment. I don't
feel that this is a valid measurement technique, therefore. A
hundred-fold difference in results shows that the experimental protocol
is not at all well-defined.

I'll run a more sensible test. Writing 200MB of zeros after mounting
the filesystem sync, using 1MB blocks (this will be quite slow, as
the fs is not quiet, and since it's mounted sync now, all kinds of
things will interfere with the write, which isn't atomic):


  oboe:/tmp% time dd if=/dev/zero of=writetest bs=1024k count=200
  200+0 records in
  200+0 records out
  0.010u 9.310s 8:03.13 1.9% 0+0k 0+0io 96pf+0w

yes, well, that just shows you why one doesn't normally mount local
fs's (especially tmp!) sync. 400KB/s !!

I'll do it again, this time with the fs mounted async, as normal. If
I were clever, I would also set it noatime.

  oboe:/tmp% time dd if=/dev/zero of=writetest bs=1024k count=200
  200+0 records in
  200+0 records out
  0.000u 2.540s 0:39.07 6.5% 0+0k 0+0io 121pf+0w

A rather more impressive 5MB/s wallclock. One should note that neither
test occupied the cpu in the least, which was why I was able to
continue watching tv and writing this message without noticing it,
while also receiving log files from every machine in 100M to the same
partition.  That's the advantage of scsi - not linear speed. But if
necessary I'll perform the same test on my ultra 160 controllers and
lvd disks, for more interesting data.

Does (substitute bozo A) now understand why his "data" is not data?

> The du command doesn't read all the data from the disk (as happens when
> you clone a disk).  Plus, these numbers are biased by the filesystem
> buffer cache.  In fact, the buffer cache will bias any I/O speed
> measurement (except maybe for a full read of the entire disk using its
> block device, because there should be no cache hits in that case).


Peter

------------------------------

From: "Alex Ramos" <[EMAIL PROTECTED]>
Subject: Re: problem with gnome-terminal after upgrade
Date: Sat, 21 Apr 2001 18:59:12 GMT

David,

Did you figure out what was going on with gnome-terminal?  I am 
having the same difficulty.

Alex.

In article <[EMAIL PROTECTED]>, "David Miller"
<[EMAIL PROTECTED]> wrote:


> I recently upgraded from RH 7.0 to 7.1. When I try to bring up a
> gnome-terminal I get the following error:  gnome-terminal: error while
> loading shared libraries: gnome-terminal: undefined symbol:
> zvt_term_set_open_im  eh?
> Any help is appreciated.
> Dave

------------------------------


** 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 by posting to comp.os.linux.misc.

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
******************************

Reply via email to