ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General Discussion » Persistent I/O synchronization method?

Post new topic  Reply to topic
 Persistent I/O synchronization method? « View previous topic :: View next topic » 
Author Message
mtravis
PostPosted: Mon Sep 13, 2004 1:39 am    Post subject: Persistent I/O synchronization method? Reply with quote

Newbie

Joined: 18 Aug 2004
Posts: 2

Hi. I'm wondering if anybody here offhand knows the mechanism used to synchronize logfile data with physical disk media. I'm particularly interested in Solaris and Linux versions of Websphere MQ 5.3.

fsync() ? fdatasync() ? O_SYNC ? O_DSYNC ?

Anything ring a bell? I suppose I may be able to find out by trussing enough processes and looking for open() and write() calls on log files.

On Solaris at least I'm finding quite drastic difference in performance between the function calls and the open() mechanisms.

Any help would be much appreciated.

Thanks!
Mark
Back to top
View user's profile Send private message
mtravis
PostPosted: Fri Sep 17, 2004 3:43 pm    Post subject: Reply with quote

Newbie

Joined: 18 Aug 2004
Posts: 2

I found the answer.

lsof -f g -- /var/mqm/log

tells me that the .LOG files were opened with flags R,W,DSYN

DSYN corresponds to O_DSYNC I'm sure.

That's on Solaris. I'm sure Linux is similar.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Persistent I/O synchronization method?
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.