Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2001 08:25 AM
05-26-2001 08:25 AM
syslogd
ARE THERE ANY KERNEL PARAMETERS THAT WE NEED TO PLAY WITH IN ORDER TO TWEAK THE PERFORMANCE OR IS THERE ANY OTHER WAY OF RESOLVING THIS PROBLEM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2001 08:59 AM
05-26-2001 08:59 AM
Re: syslogd
Assuming you have a reasonably tuned machine there are no kernel parameters that are going to help. You might try starting syslogd with the -r option (allow duplicate entries) this reduces the overhead quite a bit.
It sounds as though you are doing a large amount of logging. I'm not surprised that syslog is 4x slower but one of the things that syslogd is doing that simply appending to a file is not is preventing interleaving of messages.
If the probability of interleaving output is low then I can suggest one method that might be the best of both worlds. Simply let your applications append to a text file and have a daemon to then log the data to syslog. The daemon would have to keep up with its last checkpointed line number and simply periodically start from that point to the end of file. When done, reset the line number to the current EOF. This way your applications could write at full speed and you with still have centralized messages.
A more complicated version would either be multi-threaded to allow several connections at once using a named pipe, or use semaphores so that only one application could write at a time, or use ipc messages for the same thing.
Food for thought, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2001 02:05 PM
05-26-2001 02:05 PM
Re: syslogd
Thanks a whole bunch for all your great ideas. I would have them tired tomorrow, however I do like to add here that the same design is working fine on a K class machine with comparable capacity in terms of processing power and memory. The new machine that we aretrying to set up has no user load what so ever, whereas our production environment typically runs with 250 to 300 concurrent users without any slowing down of logging.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2001 05:26 PM
05-26-2001 05:26 PM
Re: syslogd
I would also trim your syslog and see if that makes a performance difference.
Regards, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2001 07:50 PM
05-26-2001 07:50 PM
Re: syslogd
I know for sure that we don't have a run-away process. We have been monitoring system usage and we didn't find any of the usages high enough to have caused concerns. About the other parameters, I am not sure what percentages they are set at. Certainly I will try the recommended values and see if that would make any difference. I will let you know.