IKC: increase message queue sizes
Change-Id: Ib1eee4d26b8304cbee16fe50caabfc2c19e5c2e3
This commit is contained in:
committed by
Masamichi Takagi
parent
2db3717e57
commit
b5337358cf
@@ -19,7 +19,7 @@ int ihk_mc_ikc_init_first_local(struct ihk_ikc_channel_desc *channel,
|
|||||||
|
|
||||||
memset(channel, 0, sizeof(struct ihk_ikc_channel_desc));
|
memset(channel, 0, sizeof(struct ihk_ikc_channel_desc));
|
||||||
|
|
||||||
mikc_queue_pages = ((4 * num_processors * MASTER_IKCQ_PKTSIZE)
|
mikc_queue_pages = ((8 * num_processors * MASTER_IKCQ_PKTSIZE)
|
||||||
+ (PAGE_SIZE - 1)) / PAGE_SIZE;
|
+ (PAGE_SIZE - 1)) / PAGE_SIZE;
|
||||||
|
|
||||||
/* Place both sides in this side */
|
/* Place both sides in this side */
|
||||||
|
|||||||
@@ -895,7 +895,7 @@ void init_host_ikc2linux(int linux_cpu)
|
|||||||
param.port = 503;
|
param.port = 503;
|
||||||
param.intr_cpu = linux_cpu;
|
param.intr_cpu = linux_cpu;
|
||||||
param.pkt_size = sizeof(struct ikc_scd_packet);
|
param.pkt_size = sizeof(struct ikc_scd_packet);
|
||||||
param.queue_size = 2 * num_processors * sizeof(struct ikc_scd_packet);
|
param.queue_size = 4 * num_processors * sizeof(struct ikc_scd_packet);
|
||||||
if (param.queue_size < PAGE_SIZE * 4) {
|
if (param.queue_size < PAGE_SIZE * 4) {
|
||||||
param.queue_size = PAGE_SIZE * 4;
|
param.queue_size = PAGE_SIZE * 4;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user