<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=1729&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / UPS, digital power supplies and what jobs use power]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=1729</link>
		<description><![CDATA[The most recent posts in UPS, digital power supplies and what jobs use power.]]></description>
		<lastBuildDate>Sat, 18 Nov 2017 04:36:25 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: UPS, digital power supplies and what jobs use power]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=6304#p6304</link>
			<description><![CDATA[<p>As most electrical circuits have some thought in increasing efficiency, their loss/wasted energy usually escapes as heat.&#160; So where you see much heat escaping it is not due to severe inefficiency but large amounts of energy going through and some escaping as heat.<br />So I would presume anything that uses the CPU in extremes for a sustained period is consuming more energy.&#160; The the GPU processor must come second when heavy graphics are being processed.&#160; Then there should be the ram as we are starting to see ram modules with cooling fins.&#160; High speed motors (drives) must consume energy too.</p><p>I think people who are into graphic games playing and developing, video editing, GIS systems programmers, must know more about what it takes to melt something.&#160; My puzzle comes from android devices, being able to run 4cores and HD graphics in gaming and have no fans or get so hot, while a similar pc needs 3-4 fans to keep from melting.</p>]]></description>
			<author><![CDATA[dummy@example.com (fungus)]]></author>
			<pubDate>Sat, 18 Nov 2017 04:36:25 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=6304#p6304</guid>
		</item>
		<item>
			<title><![CDATA[UPS, digital power supplies and what jobs use power]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=6301#p6301</link>
			<description><![CDATA[<p>I run BOINC jobs (and I am not an expert at this).&#160; And I have UPSes which can report on how much power is being used.&#160; And for one machine (soon to be 2), I have digital power supplies which can report on how much power is being used at 3.3, 5 and 12V.</p><p>At the moment, I am just learning about this, and so I am just doing publicly available BOINC stuff.&#160; My intention is to make my own BOINC jobs served by a BOINC server I run. Which allows me the possibility of farming out jobs to other people to work on.&#160; Which is partially funny, as at the end of the day, what I am trying to improve is farming in the part of the world where I live.</p><p>I have 3 UPS in use (1 not yet in use), and 3 of them are from CyberPower.&#160; The outlier is a APC UPS that I have had forever.</p><p>NUT (Network UPS Tools) is probably the tool most people should use, unless the UPS they have isn&#039;t supported by NUT.&#160; Another possible reason to not use NUT, is that the data you want/need is not currently provided by NUT.</p><p>So, I am starting from the assumption that NUT is the system installed.&#160; And among the things NUT does, is by default it looks for UPS data every 15 seconds.</p><p>---</p><p>If a computer which has a digital power supply is being &quot;probed&quot;, the NUT daemon&#160; will be able to provide information about the UPS which is supplying that computer.&#160; The power supply itself, can also supply information on what it is supplying.&#160; The data provided by the UPS should always be higher than the data supplied by the digital power supply.&#160; The difference is the inefficiency of the power supply.&#160; All other things (not yet specified) being equal, we are not expecting the difference to be constant.&#160; The times when the UPS is providing data are not synchronised and/or sampled at the same times that the digital power supply are providing data.&#160; If the UPS in question is providing power to more than one computer, that is another source of difference between the two estimates of how much power is being used.</p><p>---</p><p>Whether or not any of the computers on our LAN have digital power supplies, we (may) have some information as to how much power is being used.</p><p>But, we do have some information as to what processes are using a lot of resources at any given time.&#160; And as near as I can tell (and I have a Perl bias), libgtop (a Gnome product?) is the place to start there.&#160; And so we want to find the N processes that are using significant resources.&#160; Resources could be CPU time, but it may also be disk access or swap.&#160; And I am going to guess you only want to note things using more than 10% of the maximum usage.&#160; So at any given sampling time, we have the N processes using significant resources in terms of possibly more than one criteria.</p><p>---</p><p>From lmsensors, we may have data about the temperature of the CPU(s) and/or GPU(s) in use, as well as temperatures for storage devices being used.&#160; All of which is an estimate of how much power those items are using.</p><p>---</p><p>To tie this into BOINC, a person wants:<br /> 1. to be able to identify if a process getting significant resources is a BOINC project process.<br /> 2. if it is a BOINC project process, what project it comes from.<br /> 3. if it is a BOINC project process, is it a CPU only process?<br /> 4. if it is a BOINC process split between CPU and GPU, how much power is each using?&#160; If multiple GPU are involved, how much is each using?<br /> 5. other stuff.</p><p>---</p><p>None of this is about controlling a UPS.&#160; It is about reading data from a UPS.&#160; But it does depend on software being present to control a UPS.&#160; Or rather, monitor the UPS to determine when to shutdown a system.</p><p>---</p><p>I&#039;m just starting this.&#160; I&#039;m working in Perl (as much as I can).</p><p>I am not a security expert, I am seeing security &quot;problems&quot; in NUT.&#160; But, I suspect most of this isn&#039;t a problem, it is just &quot;theoretical&quot;.</p><p>What I find as I go on, who knows?</p>]]></description>
			<author><![CDATA[dummy@example.com (ghaverla)]]></author>
			<pubDate>Sat, 18 Nov 2017 02:35:00 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=6301#p6301</guid>
		</item>
	</channel>
</rss>
