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

Run benchmarks on a fresh install. #56

Closed
vext01 opened this issue Oct 14, 2015 · 7 comments
Closed

Run benchmarks on a fresh install. #56

vext01 opened this issue Oct 14, 2015 · 7 comments

Comments

@vext01
Copy link
Member

vext01 commented Oct 14, 2015

Have krun(?) reinstall the machine, install the packages, build the VMs, and run the benchmarks.

@vext01
Copy link
Member Author

vext01 commented Oct 16, 2015

Pre-seeding may help: https://wiki.debian.org/DebianInstaller/Preseed

@ltratt
Copy link
Member

ltratt commented Oct 16, 2015

Yes, between that and the "hands off" documentation, it looks plausible.

@ltratt
Copy link
Member

ltratt commented Oct 20, 2015

I'm now of the opinion that we might have to set this as not being a blocker for the initial version of the paper, because I'm not even sure how to do it in all situations. @snim2, might you be able to look into the Linux situation? @vext01 and I will do the same for OpenBSD.

@snim2
Copy link
Collaborator

snim2 commented Oct 27, 2015

I haven't had a thorough look at this yet, but one problem that I came across in PR #74 is that some of the package names contain non-ascii characters, and it's a real pain to try to compare the unicode that comes out of a Json file with a str in such a way that the two can be compared.

@ltratt
Copy link
Member

ltratt commented Oct 28, 2015

Having talked to @snim2 about this, I don't think it should be krun's job to install packages. I think it should take the machine it's given, record the installed packages and move on.

[A real problem here is the huge difference in OS package granularity. bencher3 (Debian) has 1425 packages installed; bencher6 (OpenBSD) has 116. I know we haven't installed the packages that HHVM would need on bencher6, but still... the difference is gob-smacking and is some way beyond krun's remit.]

@vext01
Copy link
Member Author

vext01 commented Oct 28, 2015

I agree that krun should not install packages.

I was under the impression there would be some kind of a "pre-run-script" config option that would deal with reinstalling the OS and reinstalling packages.

A separate issue is how Krun should resume given that the disk it was running on has just been formatted.

@snim2
Copy link
Collaborator

snim2 commented Nov 2, 2015

Since we have agreed not to have Krun reinstall the machine, I'm closing this issue.

"Resuming given that the disk it was running on has just been formatted" is a separate issue, I think.

@snim2 snim2 closed this as completed Nov 2, 2015
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

3 participants