Linux-Development-Sys Digest #770, Volume #8 Mon, 4 Jun 01 02:13:09 EDT
Contents:
Re: fast disk writes (Kai Henningsen)
memory usage info (Zhiyong Xu)
How to access argc,argv,envp without glibc (Eric Buddington)
Re: Linux IO scalability (Erik de Castro Lopo)
Re: How to access argc,argv,envp without glibc (John Reiser)
Re: How to access argc,argv,envp without glibc (Pete Zaitcev)
There's a bug in dump-0.4b22, dump-0.4b21 works though! (Anonymous)
Re: ext2 performance with large directories (Linus Torvalds)
problem with compiling as a module (Srinivas Vedula)
Re: How to access argc,argv,envp without glibc (cLIeNUX user)
Date: 03 Jun 2001 21:07:00 +0200
From: [EMAIL PROTECTED] (Kai Henningsen)
Subject: Re: fast disk writes
$}xinix{$@esperi.demon.co.uk (Nix) wrote on 03.06.01 in
[EMAIL PROTECTED]:
On 03 Jun 2001, Kai Henningsen stipulated:
[1] Getting Win32 to create a link is ... interesting. But possible (see,
s/interesting/insane/
(I mean, the backup API? What *were* they *thinking*?)
Probably that no normal Win32 program would do that, but that backup
programs needed to handle files created by the POSIX subsystem.
The second half of the sentence is correct.
The first is debatable.
Kai
--
http://www.westfalen.de/private/khms/
... by God I *KNOW* what this network is for, and you can't have it.
- Russ Allbery ([EMAIL PROTECTED])
--
From: Zhiyong Xu [EMAIL PROTECTED]
Subject: memory usage info
Date: Sun, 03 Jun 2001 17:06:23 -0400
Hi,
I doing some research on linux kernel, I modified some of
buffer cache system. But it seems some problem occurs , I want to know
how can I get info of current memory usage and display? It seems
I consumed all memory and no process so how can I know current memory
condition?
--
From: [EMAIL PROTECTED] (Eric Buddington)
Subject: How to access argc,argv,envp without glibc
Date: Sun, 03 Jun 2001 21:53:32 GMT
I am trying to write minimalist programs for use on
boot floppies. I have found that by stealing the assembler
syscall macros from glibc, I can write miniscule (about 2k)
and functional programs to do the basics of mount, swapon,
execve, all that.
I can't, however, figure out how to access command-line
arguments or environment without using glibc (which is a beast)
Can someone point me to the relevant sources in glibc or gcc?
(ObDisclaimer: yes, I know this will not be portable)
-Eric
[EMAIL PROTECTED]
--
Date: Mon, 04 Jun 2001 07:55:00 +1000
From: Erik de Castro Lopo [EMAIL PROTECTED]
Subject: Re: Linux IO scalability
Shirish [EMAIL PROTECTED] writes:
Does Linux have an IO scalability issue. We here have 25 drives
attached to a server with two fibre controller cards. The max
thruput we can arrive at is around 40MB/s, thats like 5% PCI
efficiency. If I have the same configuration under windows, I can
easily do 250~300MB/s using the same HW configuration. Any clues!!
What are you doing to get the data, read () or mmap ()?
A read () call has at minimum 1 data copy. When you issue the read(),
the data is read into the file buffer and from there it is copied
into you user space program.
Using mmap () means that you bypass the copy and recieve a pointer
directly into the file buffer. This can drastically speed up disk
bound programs.
Using mmap () I was able to go from 15 Mbytes/sec to 37Mbytes a second
from a single LVD SCSI drive with almost no processor load. This was as
fast as that particular drice was able to go.
Hope this helps,
Erik
--
From: John Reiser [EMAIL PROTECTED]
Subject: Re: How to access argc,argv,envp without glibc
Date: Sun, 03 Jun 2001 16:54:20 -0700
I can't, however, figure out how to access command-line
arguments or environment without using glibc (which is a beast)
Can someone point me to the relevant sources in glibc or gcc?
glibc-2.2.3/sysdeps/i386/elf/start.S # for example
glibc-2.2.3/sysdeps/generic/libc-start.c
--
John Reiser, [EMAIL PROTECTED]
--
From: [EMAIL PROTECTED] (Pete Zaitcev)
Subject: Re: How to access argc,argv,envp without glibc
Date: 4 Jun 2001 02:30:29 GMT
[...]
I can't, however, figure out how to access command-line
arguments or environment without using glibc (which is a beast)
Can someone point me to the relevant sources in glibc or gcc?
-Eric
[EMAIL PROTECTED]
Try to google for SV ABI on x86... Tracking through glibc
is pretty tedious.
-- Pete
--
Date: Mon, 04 Jun 2001 00:37:57 -0400
Subject: There's a bug in dump-0.4b22, dump-0.4b21 works though!
From: Anonymous [EMAIL PROTECTED]
Warning:
I'm using RedHat 7.1 and I encountered
a very serious bug in dump-0.4b22 that
causes it to loop forever!
Be very careful if you're using dump-0.4b22
to perform backups on critical data!