Looping in sendfile_it_all

2008-05-06 Thread Niko Wilfritz Sianipar Sianipar
What is the condition in sendfile_it_all (core_filters.c) that makes the looping running more than once? Cause I've made modified it where for the first loop I only send 4096 Byte of the file (to estimate the throughput) and for the next looping I send the others of the file (file size minus

Apache response time

2008-05-04 Thread Niko Wilfritz Sianipar Sianipar
How to get the response time in the apache log file in msec. Thank you. Best, Niko Wilfritz Sianipar Teknik Informatika IT Telkom Bandung - Kunjungi halaman depan Yahoo! Indonesia yang baru!

How to measure throughput

2008-04-29 Thread Niko Wilfritz Sianipar Sianipar
I want to add a number code in sendfile_it_all function in core_filters.s. The web server will send the file according to the connection's throughput. I use SO_PRIORITY and setsockopt (differentiared service mechanism) to do that. the problem is how to measure the connection's throughput before

socket state and client_socket

2008-03-02 Thread Niko Wilfritz Sianipar Sianipar
What is the socket state in Apache indicating that a packet (that just sent from the socket) has been received by the client? And whether the client_socket in core_net_rec is a socket in client side not in the server side?? Can I use core_net_rec-client_socket-socketdes too (because the

tcp_get_info()....

2008-02-07 Thread Niko Wilfritz Sianipar Sianipar
Can I use tcp_get_info() function from Linux C library in my Apache code to get information about the TCP connection? I need it to estimate the transfer time of last packet sent in my Apache code? Is Apache can do that?? Please response this question...

Balasan: Re: tcp_get_info()....

2008-02-07 Thread Niko Wilfritz Sianipar Sianipar
Thanks for your responses, but what I want to do with the transfer time information (which I hope can be known from tcp_get_info) is to give priority to the request of the fastest connection first (which can be calculated with size of file/transfer time). I use Apache code to give the priority

Balasan: Re: Transfer time in apache

2008-02-01 Thread Niko Wilfritz Sianipar Sianipar
How to do that?? What must I know about network filter?? Akins, Brian [EMAIL PROTECTED] wrote: On 1/30/08 11:25 PM, Niko Wilfritz Sianipar Sianipar wrote: Please help me with this problem: HOW TO get/know/calculate transfer time of a packet not the entire of a file (just a packet

Transfer time in apache

2008-01-30 Thread Niko Wilfritz Sianipar Sianipar
Please help me with this problem: HOW TO get/know/calculate transfer time of a packet not the entire of a file (just a packet) that just sent to a client in Apache web server? Because I want to know the throughput or transfer rate of a connection .. Thank you very much for your atttention. Help

Number of byte sent

2007-07-22 Thread Niko Wilfritz Sianipar Sianipar
What is the name of variable or procedure in Apache that return the number of last byte sent to client? What is the name of variable or procedure in Apache that return the time required to sent last byte to the client? - Bergabunglah dengan orang-orang

Balasan: RE: Balasan: Re: Apache configuration (throughput of connection)

2007-07-01 Thread Niko Wilfritz Sianipar Sianipar
I want to improve the delay on the server,the mean response time by giving priority to the client that has fastest connection first. If the fastest connection receive priority at the server, they will have good conditions (in the server and in the network) to finish quickly, contributing to

Apache configuration (throughput of connection)

2007-07-01 Thread Niko Wilfritz Sianipar Sianipar
I want to improve the delay on the server,the mean response time by giving priority to the client that has fastest connection first. If the fastest connection receive priority at the server, they will have good conditions (in the server and in the network) to finish quickly, contributing to

Balasan: RE: Balasan: Re: Apache configuration (throughput of connection)

2007-06-29 Thread Niko Wilfritz Sianipar Sianipar
Apache to give those IP addresses higher priority, and see if that has any effect on performance. -Original Message- From: Niko Wilfritz Sianipar Sianipar [mailto:[EMAIL PROTECTED] Sent: Friday, June 29, 2007 1:24 AM To: dev@httpd.apache.org Subject: Balasan: Re: Apache configuration

Balasan: Re: Apache configuration (throughput of connection)

2007-06-28 Thread Niko Wilfritz Sianipar Sianipar
OK, I want to clear my question: I have a task to improve apache performance by giving the priority to client that has the fastest connection first. I still don't know how the apache know the information of each client's throughput so that it can does the policy (giving the priority to the

Apache configuration (throughput of connection)

2007-06-27 Thread Niko Wilfritz Sianipar Sianipar
I have some questions about apache configuration: 1. Does apache can be configured so he can order the clients according to their throughput? 2. How can apache know the throughput of each client that connect to it? Thank for your attention to my questions