-
1. Re: Address max-size-bytes to page-size-bytes relationship
clebert.suconic Dec 10, 2010 5:29 PM (in response to mstefa02)MaxPage is the max number of bytes you should have in memory.
The system will starve if you set page-size >= max-size. You won't have space in memory to depage a file as the memory would be immediately full.
-
2. Re: Address max-size-bytes to page-size-bytes relationship
zont Jul 21, 2012 4:49 AM (in response to clebert.suconic)It means that, the whole page file will be depaged rather than the messages successively from page files, right?
-
3. Re: Address max-size-bytes to page-size-bytes relationship
zont Jul 22, 2012 10:10 AM (in response to clebert.suconic)I have some questions more.
My test configuration is as following:
- min-large-message-size = 3145728 (3MB)
- max-size-bytes = 409600 (400kB)
- page-size-bytes = 102400 (100kB)
- the queue is undurable
I send a 2000 KB message. Obviously the message doesn’t fit into the queue so it should be paged, but the recently created page file is empty (0 KB)!
The question is: where is the message?
Then I send a second message of the same size and it goes into that empty file and changes its size to 2001 KB. After it I can receive both messages.
Second question: how can be the paged file depaged? The sizes of queue and page do not allow it.
Thank you.
-
4. Re: Address max-size-bytes to page-size-bytes relationship
ataylor Jul 23, 2012 4:35 AM (in response to zont)The 0 page file isnt the first messg, its just pre created in readiness for when paging occurs, the first mesgae will be in the queue probably
-
5. Re: Address max-size-bytes to page-size-bytes relationship
zont Jul 23, 2012 6:27 AM (in response to ataylor)...the first mesgae will be in the queue probably
But the message doesn't fit into the queue because its size is much bigger than the size of the queue.
-
6. Re: Address max-size-bytes to page-size-bytes relationship
ataylor Jul 23, 2012 6:30 AM (in response to zont)But the message doesn't fit into the queue because its size is much bigger than the size of the queue.
well that wouldnt make sense would it, th emessage would never get delivered in that case, the size is the threshold at which paging starts.
-
7. Re: Address max-size-bytes to page-size-bytes relationship
zont Jul 23, 2012 6:46 AM (in response to ataylor)Sorry, I can’t still get it in full.
It means the size of first message (the queue is empty) that will be held in memory (!!) is only limited by the min-large-message-size and not by the queue size, right?
With other words, I can send a 100MB message to an empty 1 MB-queue and it will be held in the memory if the min-large-message-size is >100 MB, right?
-
8. Re: Address max-size-bytes to page-size-bytes relationship
ataylor Jul 23, 2012 6:51 AM (in response to zont)min large message size has nothing to do with paging, its the threshold at which we use large message deliver yo send the message, i.e. break it into chunks.
-
9. Re: Address max-size-bytes to page-size-bytes relationship
zont Jul 23, 2012 7:21 AM (in response to ataylor)I spoke about min-large-message-size because if the message is under this size, it will be held in the memory and not in the large-message directory.
Like I wrote, the first big (but under min-large-size) message does appear neither in a page file nor in the large-message directory.
My question again:
where is the 100MB-message held if I send it to a 1MB-empty-queue?
-
10. Re: Address max-size-bytes to page-size-bytes relationship
ataylor Jul 23, 2012 8:40 AM (in response to zont)like i say, it is sent to the queue, paging doesnt occur until the threshold is reached