Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fscopy test case needs improvements #19

Open
GoogleCodeExporter opened this issue Apr 9, 2015 · 0 comments
Open

fscopy test case needs improvements #19

GoogleCodeExporter opened this issue Apr 9, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. fscopy test cases

What is the expected output? What do you see instead?

1. The test cases with a biggest file of 4096 buffer and 8000 blocks is ~ 32MB 
file size. When I run this on a Haswell server (Intel(R) Xeon(R) CPU E5-2690 
v3), this fits entirely in the L3 memory when I run only one guest. Even though 
the test case might be valid the enviroment or scenario where only one guest is 
running will give undue advantage as L3 is shared. This requires that the size 
of file be increased

2. I tried a cp command on ubuntu 15.04 on a file which contains only "0" as 
contents

read(3, "0\n", 131072)                  = 2
write(4, "0\n", 2)                      = 2

and I see that it uses a buffer size of 128k. I also noticed the same on ppc64 
version of ubuntu15.04

 So, the buffer size also needs to be increased.

What version of the product are you using? On what operating system?

ubuntu 5.1.3 / ubuntu 15.04 (ext4)

Please provide any additional information below.

In RHEL 7.0 (xfs) the cp command uses 64k buffer size.
So, it is necessary that the buffer and block size be increased.



Original issue reported on code.google.com by [email protected] on 30 Mar 2015 at 1:39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant