search for: ondemand

Displaying 20 results from an estimated 101 matches for "ondemand".

2012 Sep 21
0
Xen 4.2.0 - CPU Frequency Scaling
...ormation would be useful please let me know. Thanks, James # xenpm get-cpufreq-para cpu id : 0 affected_cpus : 0 2 3 4 5 6 7 8 9 10 11 cpuinfo frequency : max [2000000] min [800000] cur [800000] scaling_driver : scaling_avail_gov : userspace performance powersave ondemand current_governor : ondemand ondemand specific : sampling_rate : max [10000000] min [10000] cur [20000] up_threshold : 80 scaling_avail_freq : 2000000 1500000 1300000 1000000 *800000 scaling frequency : max [2000000] min [800000] cur [800000] cpu id : 1 a...
2014 Jul 16
1
centos 7: trouble setting the ondemand governor
Hi, The default "stop" action for the cpupower service seems to be to set the ondemand governor, but this fails. I can reproduce the issue directly by running cpupower: $ sudo cpupower frequency-set -g ondemand Setting cpu: 0 Error setting new values. Common errors: - Do you have proper administration rights? (super-user?) - Is the governor you requested available and modprobed? - T...
2020 Aug 14
2
[PATCH nbdkit] New ondemand plugin.
...t simply connects with a desired export name and a new export is created. The export is persistent (until deleted by the server admin), and clients may disconnect and reconnect. In some respects this is similar to the nbdkit-tmpdisk-plugin, or nbdkit-file-plugin with the dir= option. --- plugins/ondemand/nbdkit-ondemand-plugin.pod | 190 ++++++ plugins/tmpdisk/nbdkit-tmpdisk-plugin.pod | 3 +- configure.ac | 2 + plugins/ondemand/Makefile.am | 81 +++ tests/Makefile.am | 10 + plugins/ondemand/ondemand.c...
2010 Nov 08
2
issue with fileserve in KH branch
Hello together after trying to deploy one of the latest version out of the KH branch to our servers we ran into an issue with streaming of ondemand files. After deploying 2.3.2-kh27.1 and also trying 2.3.2-kh24 and 2.3.2-kh22 we see that if we try to stream an ondemand file through the fileserv option we get the ondemand file play back correctly and also see the appropriate file length in the player (WinAmp). if we seek in the file (jump...
2020 Aug 27
0
[PATCH nbdkit 2/2] api: Remove .list_exports from nbdkit 1.22 release.
...| 5 -- include/nbdkit-filter.h | 5 ++ include/nbdkit-plugin.h | 3 - tests/Makefile.am | 4 - server/plugins.c | 9 +- plugins/sh/methods.h | 2 - plugins/eval/eval.c | 2 - plugins/ondemand/ondemand.c | 51 ----------- plugins/sh/methods.c | 106 ---------------------- plugins/sh/sh.c | 1 - plugins/sh/example.sh | 8 -- tests/test-eval-exports.sh | 135 ---------------------------- tests/test-ondemand-list.sh...
2020 Aug 15
1
Re: [PATCH nbdkit] New ondemand plugin.
Question: Should the new directory= parameter of the file plugin be "dir="? It's shorter. It's also consistent with the plugins floppy, iso, linuxdisk, and of course ondemand ... Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM gue...
2020 Aug 27
4
[PATCH nbdkit 0/2] Temporarily remove .list_exports for nbdkit 1.22
If you're following nbdkit development upstream you'll have seen that we are still making changes to the .list_exports and related APIs. The current .list_exports API upstream is not how it will look finally. The latest set of proposals was here: https://www.redhat.com/archives/libguestfs/2020-August/thread.html#00330 At the same time I'd like to do an nbdkit 1.22 (stable) release.
2020 Aug 15
0
Re: [PATCH nbdkit] New ondemand plugin.
...consume arbitrary > +amounts of disk space by creating unlimited exports. It is therefore > +best to take steps to limit where clients can connect from using > +L<nbdkit-ip-filter(1)>, firewalls, or TLS client certificates. Yep, a definite need for this warning. > +++ b/plugins/ondemand/ondemand.c > +/* Because we rewind the exportsdir handle, we need a lock to protect > + * list_exports from being called in parallel. > + */ > +static pthread_mutex_t exports_lock = PTHREAD_MUTEX_INITIALIZER; An alternative is to diropen() each time .list_exports gets called. Either...
2010 Jan 15
1
[PATCH] Change default cpufreq governor to ondemand
...quency this is at best a no-op. Worse, on some hardware with some BIOS revisions, this actually sets the CPUs running at their lowest frequency rather than their highest and there is a corresponding (and initially puzzling) drop in performance. This patch changes the default governor to "ondemand" which should make it the same as the Linux default and will provide power savings for the majority without needing to write a userspace governor. For those that want to install their own governor, that is still possible. Signed-off-by: John Haxby <john.haxby@oracle.com> _________...
2020 Aug 15
2
Re: [PATCH nbdkit] New ondemand plugin.
...d email to an administrator, But this would duplicate existing infrastructure which can send alerts on syslog messages. However nbdkit (and indeed other servers) could help by having better diagnostics. I wonder if there are extra fields we could be providing to journald. > >+++ b/plugins/ondemand/ondemand.c > > >+/* Because we rewind the exportsdir handle, we need a lock to protect > >+ * list_exports from being called in parallel. > >+ */ > >+static pthread_mutex_t exports_lock = PTHREAD_MUTEX_INITIALIZER; > > An alternative is to diropen() each time .lis...
2007 Oct 29
0
[PATCH][retry 2][cpufreq] Xen support for the ondemand governor in Linux dom0
Modify the cpufreq ondemand governor so that it can get idle and total nsecs from the Xen hypervisor.  Xen uses nsecs to measure idle time, while Linux uses ticks. Other than accounting for that difference, use the same algorithm to calculate idle time as Linux does. Signed-off-by: Mark Langsdorf <mark.langsdorf@amd.com...
2004 Oct 20
1
Connection Nodes
Hello All, I have been looking over Tinc & VPE for a project and really like what I have seen in Tinc. In the VPE documentation, I came across: ----------------------------------------------------------- *connect = ondemand|never|always|disabled * Sets the connect mode (default: always). It can be always (always try to establish and keep a conenction to the given host), never (never initiate a connection to the given host, but accept connections), ondemand (try to establish a connection on the first packet sent, a...
2020 Aug 27
1
Re: [PATCH nbdkit 2/2] api: Remove .list_exports from nbdkit 1.22 release.
...ilter.h | 5 ++ > include/nbdkit-plugin.h | 3 - > tests/Makefile.am | 4 - > server/plugins.c | 9 +- > plugins/sh/methods.h | 2 - > plugins/eval/eval.c | 2 - > plugins/ondemand/ondemand.c | 51 ----------- > plugins/sh/methods.c | 106 ---------------------- > plugins/sh/sh.c | 1 - > plugins/sh/example.sh | 8 -- > tests/test-eval-exports.sh | 135 ---------------------------- > te...
2007 Oct 23
2
[PATCH][cpufreq] Xen support for the ondemand governor [2/2] (linux)
Modify the cpufreq ondemand governor so that it can get idle and total ticks from the Xen hypervisor. Linux and Xen have different ideas of what an idle tick is, so the Xen values for both have to be returned in the same platform hypercall. Otherwise, use basically the same scheme as native Linux. Signed-off-by: Mark Lang...
2020 Aug 15
0
Re: [PATCH nbdkit] New ondemand plugin.
...my libnbd stuff settles, I'll be able to get back to finalizing how the .list_exports stuff should work in nbdkit. >>> +/* Since clients that want multi-conn should all pass the same export >>> + * name, this is safe. >>> + */ >>> +static int >>> +ondemand_can_multi_conn (void *handle) >>> +{ >>> + return 1; >>> +} >> >> Hmm. Are you permitting multiple clients to the same export, or did >> you decide that was too likely to cause fs corruption, and locking >> out users on the same export? The docs...
2009 Mar 28
6
cpu frequency scaling in xen 3.3.1
Hi, i read the xenpm wiki page, but i cannot use the "p-states". xenpm shows: xenpm cpu id : 0 total C-states : 2 idle time(ms) : 1776034 C0 : transition [00000000000000000000] residency [00000000000000000000 ms] C1 : transition [00000000000000260278] residency
2007 Oct 23
6
[PATCH][cpufreq] Xen support for the ondemand governor [1/2] (hypervisor code)
Modify the cpufreq ondemand governor so that it can get idle and total ticks from the Xen hypervisor. Linux and Xen have different ideas of what an idle tick is, so the Xen values for both have to be returned in the same platform hypercall. Signed-off-by: Mark Langsdorf <mark.langsdorf@amd.com> diff -r b4278beaf354 x...
2008 Aug 03
3
Questions on cpu frequency scaling AMD vs. Intel
...aring frequency scaling between AMD and Intel CPUs yesterday and there seem to be great differences between AMD and Intel and some gotchas. This is all on CentOS 5.2 with latest Xen kernels (which are supposed to be powersaving-enabled since 5.2). AMD: It seems once I get the AMD CPU to use the ondemand governor it works very well and very efficiently. But this is not set by default, one has to set ondemand explicitely in /etc/sysconfig/cpuspeed and run cpuspeed on bootup. Otherwise it just knows about userspace and performance and defaults to performance. Intel: On the other side ondemand is...
2020 Aug 25
0
[nbdkit PATCH 1/5] api: Add .default_export
...() does not fit our preferred lifecycle, so this has to be a parameter to the new .default_export. We will alter the signature of .list_exports soon; in the meantime, the bool default_only parameter is now ignored. Adding .default_export support to sh/eval is big enough for a separate patch. The ondemand plugin continues to advertise "" (and not "default") in its list of exports, but now reports a canonical name of "default" when connecting to it. The tls-fallback filter can now avoid leaking a default export name through an insecure connection. The test-layers.c cha...
2013 Feb 19
1
[LLVMdev] ARM LNT test-suite Buildbot
Hi Renato, I'm playing with A15 bots too (running Ubuntu). This is probably what you want to have predictable performance: Disable auto-resetting the CPU scaling governor to ondemand: sudo update-rc.d -f ondemand remove Then add this to /etc/rc.local: # Disable power management. for cpu in `find /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor`; do echo performance > $cpu done On Tue, Feb 19, 2013 at 9:24 AM, David Blaikie <dblaikie at gmail.com> w...