* Re: /etc/group, /etc/passwd usage by cygwin layer ?
@ 2003-01-13 3:30 jurgen.defurne
0 siblings, 0 replies; 3+ messages in thread
From: jurgen.defurne @ 2003-01-13 3:30 UTC (permalink / raw)
To: cygwin
Thanks,
I found out how to prune that file without loosing my needed information.
Jurgen
Corinna Vinschen <corinna-cygwin@cygwin.com>
Sent by:
cygwin-owner@cygwin.com
01/09/2003 01:02 PM
Please respond to cygwin
To: cygwin@cygwin.com
cc: (bcc: Jurgen Defurne/BRG/CE/PHILIPS)
Subject: Re: /etc/group, /etc/passwd usage by cygwin layer ?
Classification:
On Thu, Jan 09, 2003 at 11:28:04AM +0100, jurgen.defurne@philips.com
wrote:
> Hello,
>
> Are the /etc/group and /etc/passwd files referenced much by cygwin while
> executing programs or doing file accesses ?
Yes, the content of both files is read into memory. Cygwin needs the
information, especially name, u/gid and SID.
> The only thing I changed yesterday, was copying a new group file,
created
> by mkgroup -d. This file is 1669895 bytes large (yes, that is 1.59 Mb),
it
> contains 22080 group entries.
*gasp*
> Do you think this should be filed as a bug ?
It doesn't count as a bug but it's a well known problem since... well...
3 years or so. It's way faster than it was back then but we still don't
have an optimal solution.
Workaround: Don't use such big files.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: /etc/group, /etc/passwd usage by cygwin layer ?
2003-01-13 3:30 jurgen.defurne
@ 2003-01-13 3:30 ` Corinna Vinschen
0 siblings, 0 replies; 3+ messages in thread
From: Corinna Vinschen @ 2003-01-13 3:30 UTC (permalink / raw)
To: cygwin
On Thu, Jan 09, 2003 at 11:28:04AM +0100, jurgen.defurne@philips.com wrote:
> Hello,
>
> Are the /etc/group and /etc/passwd files referenced much by cygwin while
> executing programs or doing file accesses ?
Yes, the content of both files is read into memory. Cygwin needs the
information, especially name, u/gid and SID.
> The only thing I changed yesterday, was copying a new group file, created
> by mkgroup -d. This file is 1669895 bytes large (yes, that is 1.59 Mb), it
> contains 22080 group entries.
*gasp*
> Do you think this should be filed as a bug ?
It doesn't count as a bug but it's a well known problem since... well...
3 years or so. It's way faster than it was back then but we still don't
have an optimal solution.
Workaround: Don't use such big files.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.
^ permalink raw reply [flat|nested] 3+ messages in thread
* /etc/group, /etc/passwd usage by cygwin layer ?
@ 2003-01-13 3:30 jurgen.defurne
2003-01-13 3:30 ` Corinna Vinschen
0 siblings, 1 reply; 3+ messages in thread
From: jurgen.defurne @ 2003-01-13 3:30 UTC (permalink / raw)
To: cygwin
Hello,
Are the /etc/group and /etc/passwd files referenced much by cygwin while
executing programs or doing file accesses ?
The reason for asking is the following.
I have a server process which schedules build jobs. This process awakes
every five seconds, to have a good response time. However, when looking
at the Task Manager performance display, I now have every five seconds
a spike up to 30% cpu. This is a dual processor system, at 1.8 GHz and a
SCSI subsystem.
The only thing I changed yesterday, was copying a new group file, created
by mkgroup -d. This file is 1669895 bytes large (yes, that is 1.59 Mb), it
contains 22080 group entries.
I done the test. I took the new group file, removed all lines below what I
needed (about 20500), and replaced it. The result is that everything is
snappier under Cygwin.
Do you think this should be filed as a bug ?
Jurgen
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-01-09 13:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-13 3:30 /etc/group, /etc/passwd usage by cygwin layer ? jurgen.defurne
2003-01-13 3:30 jurgen.defurne
2003-01-13 3:30 ` Corinna Vinschen
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 read-only IMAP folder(s) and NNTP newsgroup(s).