1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
Commit graph

73777 commits

Author SHA1 Message Date
aszlig 00934bb908
nixos/tests: Revert setting min_free_kbytes
This reverts commit 02b568414d.

With a5bc11f and 6353f58 in place, we really don't need this anymore.

After running about 500 VM tests on my Hydra, it still didn't improve
very much.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-12-14 17:40:28 +01:00
aszlig 6353f580f9
nixos/qemu-vm: Disable cache for $NIX_DISK_IMAGE
As @domenkozar noted in #10828, cache=writeback seems to do more harm
than good:

https://github.com/NixOS/nixpkgs/issues/10828#issuecomment-164426821

He has tested it using the openstack NixOS tests and found that
cache=none significantly improves startup performance.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-12-14 17:36:22 +01:00
aszlig a5bc11f9eb
nixos/vm-tests: Remove msize mount option
This seems to be the root cause of the random page allocation failures
and @wizeman did a very good job on not only finding the root problem
but also giving a detailed explanation of it in #10828.

Here is an excerpt:

  The problem here is that the kernel is trying to allocate a contiguous
  section of 2^7=128 pages, which is 512 KB. This is way too much:
  kernel pages tend to get fragmented over time and kernel developers
  often go to great lengths to try allocating at most only 1 contiguous
  page at a time whenever they can.

  From the error message, it looks like the culprit is unionfs, but this
  is misleading: unionfs is the name of the userspace process that was
  running when the system ran out of memory, but it wasn't unionfs who
  was allocating the memory: it was the kernel; specifically it was the
  v9fs_dir_readdir_dotl() function, which is the code for handling the
  readdir() function in the 9p filesystem (the filesystem that is used
  to share a directory structure between a qemu host and its VM).

  If you look at the code, here's what it's doing at the moment it tries
  to allocate memory:

    buflen = fid->clnt->msize - P9_IOHDRSZ;

    rdir = v9fs_alloc_rdir_buf(file, buflen);

  If you look into v9fs_alloc_rdir_buf(), you will see that it will try
  to allocate a contiguous buffer of memory (using kzalloc(), which is a
  wrapper around kmalloc()) of size buflen + 8 bytes or so.

  So in reality, this code actually allocates a buffer of size
  proportional to fid->clnt->msize. What is this msize? If you follow
  the definition of the structures, you will see that it's the
  negotiated buffer transfer size between 9p client and 9p server. On
  the client side, it can be controlled with the msize mount option.

  What this all means is that, the reason for running out of memory is
  that the code (which we can't easily change) tries to allocate a
  contiguous buffer of size more or less equal to "negotiated 9p
  protocol buffer size", which seems to be way too big (in our NixOS
  tests, at least).

After that initial finding, @lethalman tested the gnome3 gdm test
without setting the msize parameter at all and it seems to have resolved
the problem.

The reason why I'm committing this without testing against all of the
NixOS VM test is basically that I think we can only go better but not
worse than the current state.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-12-14 17:26:24 +01:00
Kevin Cox 2f26b82411 Remove PATH assumption from fhs-userenv.
Previously is was assumed that bash was in the path when calling the
environment setup script. This changes all of the references of bash to
be absolute paths so that the user doesn't have to worry about the
environment they call it with.
2015-12-14 11:14:53 -05:00
Domen Kožar 9688c39709 Merge pull request #11702 from ericsagnes/udevil-patch
udevil: added patch
2015-12-14 16:46:26 +01:00
Daniel Peebles 5caa62dea3 Merge pull request #11689 from sigma/fix/adv_cmds
adv_cmds: fix typo in file name
2015-12-14 09:40:03 -05:00
Jakob Gillich d241354dcd mopidy: 1.0.5 -> 1.1.1 2015-12-14 14:38:58 +01:00
Jakob Gillich 872d0be1a0 mopidy-gmusic: init at 1.0.0 2015-12-14 14:38:58 +01:00
Jakob Gillich 9571740b1b python-packages: gmusicapi: 4.0.0 -> 7.0.0 2015-12-14 14:38:58 +01:00
Jakob Gillich 2f41c41f95 python-packages: gspoauth: init at 0.0.4 2015-12-14 14:38:58 +01:00
Jakob Gillich 686f1ff924 python-packages: MechanicalSoup: init at 0.4.0 2015-12-14 14:38:58 +01:00
Eelco Dolstra 1ae8f0f0f7 Merge pull request #11675 from abbradar/flashplayer-archive
flashplayer: cleanup, use archive as a source
2015-12-14 13:56:20 +01:00
Eelco Dolstra a8260e04ad Merge pull request #11655 from lancelotsix/update_gdb
pkgs.gdb: 7.10 -> 7.10.1
2015-12-14 13:55:03 +01:00
Damien Cassou b31e2aa8c8 Merge pull request #11703 from ericsagnes/signing-party
signing-party: 2.0 -> 2.1
2015-12-14 13:16:05 +01:00
Eric Sagnes b619983354 signing-party: 2.0 -> 2.1 2015-12-14 21:05:25 +09:00
Eric Sagnes b22725847d udevil: added patch 2015-12-14 20:49:14 +09:00
Jascha Geerds 7b82e5b2e8 Merge pull request #11700 from magnetophon/khal-master
khal: update 0.6.0->0.7.0
2015-12-14 12:30:37 +01:00
Domen Kožar 59e33d42e4 Merge pull request #11699 from luispedro/add_mahotas
Add mahotas & imread
2015-12-14 11:29:43 +01:00
Luis Pedro Coelho a77a8e3ca6 python.mahotas: init at 1.4.0
This is a computer vision package for Python based on numpy
2015-12-14 11:22:47 +01:00
Arseniy Seroka fcf88282f9 Merge pull request #11549 from jgillich/syslinux
syslinux: fix missing mtools dependency
2015-12-14 13:21:31 +03:00
Luis Pedro Coelho 5ff41b047a python.imread: init at 0.5.1
This is a package to read image files into numpy arrays.
2015-12-14 11:19:11 +01:00
Arseniy Seroka 93c24d39b2 Merge pull request #11695 from badi/google-musicmanager
google-musicmanager: beta_1.0.221.5230-r0 -> beta_1.0.243.1116-r0
2015-12-14 13:17:27 +03:00
Oliver Charles 30a99f3185 Merge pull request #11691 from projedi/fish-darwin-hostname-fix
fish: Use /bin/hostname on darwin. Fixes #11012.
2015-12-14 10:00:48 +00:00
Pascal Wittmann 84c3b5f71f Merge pull request #11073 from mogorman/geda_fix
geda: refdes_renum called /usr/bin/perl
2015-12-14 07:56:41 +01:00
Pascal Wittmann 88fc08c367 Merge pull request #11693 from sigma/fix/zile-darwin
zile: build on unix
2015-12-14 07:52:47 +01:00
Pascal Wittmann 393f03d5a9 Merge pull request #11694 from badi/super-user-spark
super-user-spark: 0.1.0.0 -> 0.2.0.3
2015-12-14 07:51:15 +01:00
Matthew O'Gorman f076a0867f
geda: refdes_renum called /usr/bin/perl 2015-12-14 00:04:12 -05:00
Badi' Abdul-Wahid a8d43d6950 google-musicmanager: beta_1.0.221.5230-r0 -> beta_1.0.243.1116-r0 2015-12-13 20:46:30 -05:00
Badi' Abdul-Wahid 618414ff46 super-user-spark: 0.1.0.0 -> 0.2.0.3 2015-12-13 20:26:09 -05:00
Bart Brouns 7349f406ff khal: update 0.6.0->0.7.0 2015-12-14 02:05:01 +01:00
Yann Hodique 38161e8372 zile: build on unix
zile works fine on non-linux unix systems
2015-12-13 15:06:46 -08:00
Yann Hodique 9a40af11c3 corkscrew: fix darwin build
corkscrew ships outdated versions of config.{sub,guess}. Point to
automake version instead.
2015-12-13 14:31:00 -08:00
Aristid Breitkreuz 10b8c8496a Merge pull request #11575 from rvlander/fix_container_manual
nixos-manual: fix incomplete container doc
2015-12-13 23:02:54 +01:00
Matej Cotman 0256de74fb Merge pull request #11215 from ArdaXi/efl-without-vlc
e19.efl: remove dependency on VLC
2015-12-13 22:56:14 +01:00
Aristid Breitkreuz f217579ca6 Merge pull request #11680 from mayflower/fix/claws-mail-fancy
claws-mail: Fix fancy plugin
2015-12-13 22:52:23 +01:00
Aristid Breitkreuz 42952942bc Merge pull request #11649 from mayflower/claws-enable-pgp
[RFC] claws-mail: enable PGP plugin by default
2015-12-13 22:51:03 +01:00
Arseniy Seroka 7bb418e02c Merge pull request #11681 from jgillich/upnpd-fw
miniupnpd: firewall config
2015-12-13 23:03:11 +03:00
Yann Hodique 000fe58769 adv_cmds: fix typo in file name
adv_cmds archive actually contains BSDmakefile, not BSDMakefile. While
that probably doesn't matter in default installations, it does matter
for case-sensitive filesystems.
2015-12-13 12:02:42 -08:00
Alexander Shabalin 020a09adbb fish: Use /bin/hostname on darwin. Fixes #11012. 2015-12-13 22:52:35 +03:00
Aristid Breitkreuz f0cdf17ee8 Merge pull request #11682 from ambrop72/chrome-updates
chromium: Updates.
2015-12-13 20:04:32 +01:00
Domen Kožar 128e635d8a pythonPackages.monothonic: address #7307 2015-12-13 19:06:32 +01:00
Domen Kožar 3fca941aeb virtualisation.qemu.options: specify type 2015-12-13 19:06:22 +01:00
Arseniy Seroka c8f2dd2455 Merge pull request #11661 from jcbrand/master
Updates to ClamAV
2015-12-13 21:02:10 +03:00
Pascal Wittmann 8603828324 flask: add missing dependencies and fix license 2015-12-13 18:54:34 +01:00
goibhniu 9fdb01300c Merge pull request #11416 from magnetophon/jack-master
jackaudio: compile without profiling
2015-12-13 18:40:59 +01:00
Pascal Wittmann e4b8defb37 Merge pull request #11676 from devhell/mediainfo
{lib-}mediainfo{-gui}: 0.7.79 -> 0.7.80
2015-12-13 18:26:46 +01:00
goibhniu e470d15423 zam-plugins: update hash (uses git submodules) 2015-12-13 18:16:49 +01:00
devhell ab9bf1e4fa {lib-}mediainfo{-gui}: 0.7.79 -> 0.7.80
From the changelog:
```
Version 0.7.80, 2015-11-30

+ Matroska: support of MKVMerge statistics tags (duration frame count,
  stream size, bit rate) per track, thanks to ndjamena
+ FLAC: Channel positions, thanks to ndjamena
+ FLAC: difference between detected bit depth and stored bit depth
+ MPEG-TS: if DTVCC transport stream is present and no DTVCC service
  descriptor, scan also in the middle of the file in order to detect
  more caption services
+ Subtitle frame rate computing if frame count and duration are
  available (hidden by default)
+ Subtitles in Matroska: count of elements
+ Matroska, MXF and MP4/MOV: detection of truncated files
+ DTS: difference between ES Matrix and ES Discrete
+ DTS: display ES Matrix or ES Discrete even if HRA or MA is present
+ DTS: difference between DTS-HRA with 96k option and pure DTS-96/24
+ DTS: detection of DTS:X
+ Samples per frame info
+ AC-3: detection of Atmos inside TrueHD
+ Video frame rate: showing precision of 1/1.001 frame rates (e.g.
  "23.976 (24000/1001) fps" and "23.976 (23976/1000) fps")
+ MPEG-4/MOV: showing the complete list of compatible brands in the
  CodecID field
+ MPEG-4/MOV: Alternate groups
+ MPEG-4/MOV: "Disabled" tag
+ MPEG-4/MOV: "Forced" tag
+ MPEG-4/MOV: showing links between tracks (chapters for, subtitles for,
  fallback for)
+ MXF: handling of more acquisition metadata items
+ MXF: Package name
+ AVC: Store method of interlaced content (Interleaved Fields or
  Separated Fields)
+ EBUCore: acquisition metadata (Proof of concept, for feedback only)
x Matroska: frame rate detection algorithm revisited, less wrong numbers
  are expected
x SDP/Teletext: some pages were sometimes (when present in 2 different
  SDP lines) displayed several times
x MPEG-4/MOV: some hint tracks were not displayed
+ Hongkongese language added
+ Option "Full parsing"
```
2015-12-13 17:16:07 +00:00
Franz Pletz cabd3effda claws-mail: Remove extra GIO_EXTRA_MODULES wrapping 2015-12-13 17:09:15 +01:00
Franz Pletz 65d8af5af2 claws-mail: Fix fancy plugin, fixes #10421
This fixes the fancy plugin displaying HTML mails as text as suggested
by @wedens.
2015-12-13 17:02:36 +01:00