>>> On 27.05.16 at 04:54, <dongli.zh...@oracle.com> wrote: > Because the boosting CPU and memory resources on server, Xen users are allowed > and actually do create lots of vdisk and vnic, e.g., 6 vnic, 20 vdisk and 24 > vcpu (the number of vnic queue is proportional to the number of vcpu assigned > to guest), and this requires the administrator to increase the value of > "max_grant_frames" by changing cmdline param or DEFAULT_MAX_NR_GRANT_FRAMES in > Xen hypervisor. Currently, all Xen guests share the same "max_grant_frames" > in > Xen hypervisor, that is, if we increase the grant frame because of one VM, all > other VMs' grant frame limit will increase as well. > > Therefore, please let me know if using an individual "max_grant_frames" > instead > of a global variable is reasonable? How about if we relocate this variable to > "struct grant_table" or "struct domain"?
Why not? I think this being global simply was of no concern so far. Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel