RT RT/krbdev.mit.edu: Ticket #2756 call stat less often on krb5.conf Signed in as guest.
[Logout]

[Home] [Search] [Configuration]

[Display] [History] [Basics] [Dates] [People] [Links] [Jumbo]

 
 

 The Basics  
Id
2756
Status
resolved
Worked
0 min
Priority
0/0
Queue
krb5
 

 Keyword Selections  
Component
  • krb5-libs
Version_reported
Version_Fixed
  • 1.4
Target_Version
  • 1.4
Tags
  • pullup
 

 Relationships  
Depends on:
Depended on by:
Parents:
Children:

Refers to:
Referred to by:
 
 Dates  
Created: Sat Oct 30 01:43:22 2004
Starts: Not set
Started: Sat Oct 30 01:43:23 2004
Last Contact: Wed Nov 17 18:20:58 2004
Due: Not set
Updated: Wed Nov 17 18:20:58 2004 by tlyu
 

 People  
Owner
 raeburn
Requestors
 raeburn@mit.edu
Cc
 
AdminCc
 
 

 More about Ken Raeburn  
Comments about this user:
No comment entered about this user
This user's 25 highest priority tickets:
 

History   Display mode: [Brief headers] [Full headers]
      Sat Oct 30 01:43:22 2004  raeburn - Ticket created    
     
From: raeburn@mit.edu
Subject: CVS Commit

Changes suggested by lxs to reduce stat frequency to once per second.
In parallel loops creating and destroying krb5 contexts on Mac OS X, this
seems to improve performance by 10%, though it's hard to be sure because
the times are variable.

* prof_int.h (STAT_ONCE_PER_SECOND): Define.
(struct _prf_data_t) [STAT_ONCE_PER_SECOND]: New field LAST_STAT.
* prof_file.c (scan_shared_trees_locked, scan_shared_trees_unlocked): Redefine
to do nothing for now.
(profile_update_file_data) [STAT_ONCE_PER_SECOND]: If the current time is the
same time as the last stat of the file, just return; otherwise, save away the
current time.


To generate a diff of this commit:



	cvs diff -r1.168 -r1.169 krb5/src/util/profile/ChangeLog
	cvs diff -r1.47 -r1.48 krb5/src/util/profile/prof_file.c
	cvs diff -r1.40 -r1.41 krb5/src/util/profile/prof_int.h


Download (untitled) 838b
      Sat Oct 30 01:43:23 2004  raeburn - Status changed from new to open    
      Sat Oct 30 01:43:24 2004  raeburn - Requestor raeburn@mit.edu added    
      Wed Nov 17 16:59:04 2004  raeburn - Status changed from open to resolved    
      Wed Nov 17 16:59:05 2004  raeburn - Component krb5-libs added    
      Wed Nov 17 16:59:06 2004  raeburn - Target_Version 1.4 added    
      Wed Nov 17 16:59:06 2004  raeburn - Tags pullup added    
      Wed Nov 17 18:20:56 2004  tlyu - Version_Fixed 1.4 added    
      Wed Nov 17 18:20:56 2004  tlyu - Correspondence added    
     
From: tlyu@mit.edu
Subject: CVS Commit

pullup from trunk


To generate a diff of this commit:



	cvs diff -r1.168.2.2 -r1.168.2.3 krb5/src/util/profile/ChangeLog
	cvs diff -r1.47 -r1.47.2.1 krb5/src/util/profile/prof_file.c
	cvs diff -r1.40 -r1.40.2.1 krb5/src/util/profile/prof_int.h


Download (untitled) 247b