一些平台支持建立一大块相邻的内存区,以便能够使用比默认内存分页大小更大的内存分页。
Several platforms provide the ability to establish a large contiguous section of memory using memory pages that are larger than the default memory page size.
当内存缓冲区被锁定后,将不能从物理内存进行分页。
When memory is locked, it cannot be paged out of physical memory.
AIX服务器在其中一个内部磁盘卷上还配置有32GB交换区或分页空间。
The AIX server is also configured with a 32 GB swap or paging space on one of the internal disk volumes.
需要注意,如果启用了大分页,则操作系统会留出一大块相阾的内存区供jvm使用。
Be aware that if large pages are enabled, the operating system will set aside a large continuous chunk of memory for use by the JVM.
另外一个将它用于较大缓冲区的问题是,由于他分配了未分页内存,它也许会需要在连续的未分页内存中分配较大的一个块。
The other problem with using this for larger buffers is that since it allocates non-paged memory, it would need to allocate a large block of sequential non-paged memory.
增加缓冲区大小的代价很高,因为它来自不能交换到磁碟的未分页记忆体,所以尽可能让缓冲区愈小愈好。
Increasing the size of the buffer is expensive, as it comes from non paged memory that cannot be swapped out to disk, so keep the buffer as small as possible.
增加缓冲区大小的代价很高,因为它来自不能交换到磁碟的未分页记忆体,所以尽可能让缓冲区愈小愈好。
Increasing the size of the buffer is expensive, as it comes from non paged memory that cannot be swapped out to disk, so keep the buffer as small as possible.
应用推荐