File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Performance and the fly likes I/O Performance for Profiler Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "I/O Performance for Profiler" Watch "I/O Performance for Profiler" New topic
Author

I/O Performance for Profiler

David Eriksson
Greenhorn

Joined: Dec 01, 2006
Posts: 1
Hi all,

I am working on a simple profiling tool where the goal is to have a minimal performance impact. As part of this I have thought a bit on the I/O issue, sicne such calls can easily decrease performance if handled incorrectly.

I am wondering if there is any performance difference in writing to the local file system, and writing to the network. The setup cost of creating a socket is pretty much irrelevant, sicne that will be a one-time cost, and it would be useful to be able to delegate most of the work to another computer on the network, especially since this will be used on test servers and controlled remotely as it is.

As a follow-up to that question, what are your thoughts on how much/often to write? Obviously one way saves CPU-time and the other way saves memory, but since I kinda have to save both I will have to find some optimal level inbetween.

The servers are running Windows Server 2003, which I reckon might matter in regards to filesystem used and all.

Thanks in advance for any help!
 
 
subject: I/O Performance for Profiler
 
Similar Threads
CD Writing Software
Question for the experts!
B&S: wait(time) and CPU cycles consumption
Can threading help improve I/O performance
parallel download