Displaying 20 results from an estimated 25 matches for "compactor".
2015 Jul 04
2
Trouble installing xapian on windows
...with mingw, could i use it in my project (c++) that is supposed to be compiled by MSVC?
[HERE IS OUTPUT OF THE MAKE COMMAND]
make[1]: Entering directory `/c/temp/xapian/xapian-core-1.2.21'
Making all in .
make[2]: Entering directory `/c/temp/xapian/xapian-core-1.2.21'
depbase=`echo api/compactor.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -
I./common -I./include -fshow-column -Wall -W -Wredundant-decls -Wpointer-arith
-Wcast-qual -Wcast-align -Wno-long-long -Wformat-security -fno-gnu-keywords -Wu
nd...
2013 Jun 19
2
Compact databases and removing stale records at the same time
...ompatible API interface).
I would prefer not to write to the source databases at all - the idea is that all except the "temp" database are read-only for all callers.
Thanks,
Bron.
----
int xapian_compact_dbs(const char *dest, const char **sources)
{
int r = 0;
try {
Xapian::Compactor *c = new Xapian::Compactor;
while (*sources) {
c->add_source(*sources++);
}
c->set_destdir(dest);
/* we never write to compresion targets again */
c->set_compaction_level(Xapian::Compactor::FULLER);
c->set_multipass(true);
c->compact();
}
catch (const Xapian:...
2015 Jul 05
0
Trouble installing xapian on windows
...feunistd.h: In function 'unsigned int sleep(unsigned int)':
> ./common/safeunistd.h:56:1: error: redefinition of 'unsigned int sleep(unsigned
> int)'
> sleep(unsigned int seconds)
> ^
> In file included from ./common/safeunistd.h:25:0,
> from api/compactor.cc:39:
> c:\mingw\include\unistd.h:142:10: error: 'unsigned int sleep(unsigned int)' prev
> iously defined here
> unsigned sleep( unsigned period ){ return __mingw_sleep( period, 0 ); }
> ^
I guess this is either mingw vs mingw-w64 difference, or a version
difference...
2005 Jan 04
0
Does congestion exit on a different priority?
...IP/jimball is not returning unavailable, just that it's really lagged, so
instead of exiting w/ priority +1 it's exiting with priority +101 instead.
Is this right? I know that if the phone is not available at all, like it's
been smashed by a sledgehammer, jumped on and thrown into trash compactor,
then it will exit with +1 when Asterisk is unable to dial it.
Thanks for your time.
Regards,
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050104/a1987b48/attachment.htm
2005 Dec 05
1
Samba closes my file session
When I am working with MS Access and the mdb file is in a Samba share, when
I close it and Access compacts the file, I have to reenter my username and
password for that share.
These are the logs in /var/log/samba (the lib/util_sock.c errors are common,
I get them other times without having my session closed)
[2005/12/05 12:59:54, 1] smbd/service.c:close_cnum(833)
pablo-w (192.168.0.60)
2017 Mar 15
2
xapian core missing link to math on MSYS2
...------------ next part --------------
libtool: link: x86_64-w64-mingw32-g++ -shared -nostdlib D:/bda-ci/msys2/unstable/mingw64/lib/gcc/x86_64-w64-mingw32/6.3.0/../../../../x86_64-w64-mingw32/lib/../lib/dllcrt2.o D:/bda-ci/msys2/unstable/mingw64/lib/gcc/x86_64-w64-mingw32/6.3.0/crtbegin.o api/.libs/compactor.o api/.libs/constinfo.o api/.libs/decvalwtsource.o api/.libs/documentvaluelist.o api/.libs/editdistance.o api/.libs/emptypostlist.o api/.libs/error.o api/.libs/errorhandler.o api/.libs/expanddecider.o api/.libs/keymaker.o api/.libs/leafpostlist.o api/.libs/matchspy.o api/.libs/omdatabase.o api/.lib...
2016 May 27
2
[PATCH v6 02/12] mm: migrate: support non-lru movable page migration
...reed; but stats require that PageAnon be left as PageAnon.
> */
> if (rc == MIGRATEPAGE_SUCCESS) {
> - if (!PageAnon(page))
> + if (__PageMovable(page)) {
> + VM_BUG_ON_PAGE(!PageIsolated(page), page);
> +
> + /*
> + * We clear PG_movable under page_lock so any compactor
> + * cannot try to migrate this page.
> + */
> + __ClearPageIsolated(page);
> + }
> +
> + if (!((unsigned long)page->mapping & PAGE_MAPPING_FLAGS))
> page->mapping = NULL;
The two lines above make little sense to me without a comment. Should the
condi...
2016 May 27
2
[PATCH v6 02/12] mm: migrate: support non-lru movable page migration
...reed; but stats require that PageAnon be left as PageAnon.
> */
> if (rc == MIGRATEPAGE_SUCCESS) {
> - if (!PageAnon(page))
> + if (__PageMovable(page)) {
> + VM_BUG_ON_PAGE(!PageIsolated(page), page);
> +
> + /*
> + * We clear PG_movable under page_lock so any compactor
> + * cannot try to migrate this page.
> + */
> + __ClearPageIsolated(page);
> + }
> +
> + if (!((unsigned long)page->mapping & PAGE_MAPPING_FLAGS))
> page->mapping = NULL;
The two lines above make little sense to me without a comment. Should the
condi...
2016 May 30
0
[PATCH v6 02/12] mm: migrate: support non-lru movable page migration
...eAnon be left as PageAnon.
> > */
> > if (rc == MIGRATEPAGE_SUCCESS) {
> >- if (!PageAnon(page))
> >+ if (__PageMovable(page)) {
> >+ VM_BUG_ON_PAGE(!PageIsolated(page), page);
> >+
> >+ /*
> >+ * We clear PG_movable under page_lock so any compactor
> >+ * cannot try to migrate this page.
> >+ */
> >+ __ClearPageIsolated(page);
> >+ }
> >+
> >+ if (!((unsigned long)page->mapping & PAGE_MAPPING_FLAGS))
> > page->mapping = NULL;
>
> The two lines above make little sense to m...
2020 Mar 22
0
Unable to build RPM for Centos 7
...stall -c -m 644 include/xapian/version.h
'/root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/include/xapian'
?/usr/bin/mkdir -p
'/root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/include/xapian'
?/usr/bin/install -c -m 644 include/xapian/attributes.h
include/xapian/compactor.h include/xapian/constants.h
include/xapian/constinfo.h include/xapian/database.h
include/xapian/dbfactory.h include/xapian/deprecated.h
include/xapian/derefwrapper.h include/xapian/document.h
include/xapian/enquire.h include/xapian/errorhandler.h
include/xapian/eset.h include/xapian/expanddec...
2010 Oct 17
10
RaidzN blocksize ... or blocksize in general ... and resilver
The default blocksize is 128K. If you are using mirrors, then each block on
disk will be 128K whenever possible. But if you''re using raidzN with a
capacity of M disks (M disks useful capacity + N disks redundancy) then the
block size on each individual disk will be 128K / M. Right? This is one of
the reasons the raidzN resilver code is inefficient. Since you end up
waiting for the
2016 May 20
5
[PATCH v6 00/12] Support non-lru page migration
Recently, I got many reports about perfermance degradation in embedded
system(Android mobile phone, webOS TV and so on) and easy fork fail.
The problem was fragmentation caused by zram and GPU driver mainly.
With memory pressure, their pages were spread out all of pageblock and
it cannot be migrated with current compaction algorithm which supports
only LRU pages. In the end, compaction cannot
2016 May 20
5
[PATCH v6 00/12] Support non-lru page migration
Recently, I got many reports about perfermance degradation in embedded
system(Android mobile phone, webOS TV and so on) and easy fork fail.
The problem was fragmentation caused by zram and GPU driver mainly.
With memory pressure, their pages were spread out all of pageblock and
it cannot be migrated with current compaction algorithm which supports
only LRU pages. In the end, compaction cannot
2016 May 09
0
[PATCH v5 02/12] mm: migrate: support non-lru movable page migration
...ng must be cleared before
* page is freed; but stats require that PageAnon be left as PageAnon.
*/
if (rc == MIGRATEPAGE_SUCCESS) {
- if (!PageAnon(page))
+ if (__PageMovable(page)) {
+ VM_BUG_ON_PAGE(!PageIsolated(page), page);
+
+ /*
+ * We clear PG_movable under page_lock so any compactor
+ * cannot try to migrate this page.
+ */
+ __ClearPageIsolated(page);
+ }
+
+ if (!((unsigned long)page->mapping & PAGE_MAPPING_FLAGS))
page->mapping = NULL;
}
+out:
return rc;
}
@@ -791,6 +947,7 @@ static int __unmap_and_move(struct page *page, struct page *newpage,...
2016 May 20
0
[PATCH v6 02/12] mm: migrate: support non-lru movable page migration
...ng must be cleared before
* page is freed; but stats require that PageAnon be left as PageAnon.
*/
if (rc == MIGRATEPAGE_SUCCESS) {
- if (!PageAnon(page))
+ if (__PageMovable(page)) {
+ VM_BUG_ON_PAGE(!PageIsolated(page), page);
+
+ /*
+ * We clear PG_movable under page_lock so any compactor
+ * cannot try to migrate this page.
+ */
+ __ClearPageIsolated(page);
+ }
+
+ if (!((unsigned long)page->mapping & PAGE_MAPPING_FLAGS))
page->mapping = NULL;
}
+out:
return rc;
}
@@ -791,6 +916,7 @@ static int __unmap_and_move(struct page *page, struct page *newpage,...
2016 May 31
0
[PATCH v6v3 02/12] mm: migrate: support non-lru movable page migration
...ng must be cleared before
* page is freed; but stats require that PageAnon be left as PageAnon.
*/
if (rc == MIGRATEPAGE_SUCCESS) {
- if (!PageAnon(page))
+ if (__PageMovable(page)) {
+ VM_BUG_ON_PAGE(!PageIsolated(page), page);
+
+ /*
+ * We clear PG_movable under page_lock so any compactor
+ * cannot try to migrate this page.
+ */
+ __ClearPageIsolated(page);
+ }
+
+ /*
+ * Anonymous and movable page->mapping will be cleard by
+ * free_pages_prepare so don't reset it here for keeping
+ * the type to work PageAnon, for example.
+ */
+ if (!PageMappingFlags(pa...
2016 May 30
5
PATCH v6v2 02/12] mm: migrate: support non-lru movable page migration
...ng must be cleared before
* page is freed; but stats require that PageAnon be left as PageAnon.
*/
if (rc == MIGRATEPAGE_SUCCESS) {
- if (!PageAnon(page))
+ if (__PageMovable(page)) {
+ VM_BUG_ON_PAGE(!PageIsolated(page), page);
+
+ /*
+ * We clear PG_movable under page_lock so any compactor
+ * cannot try to migrate this page.
+ */
+ __ClearPageIsolated(page);
+ }
+
+ /*
+ * Anonymous and movable page->mapping will be cleard by
+ * free_pages_prepare so don't reset it here for keeping
+ * the type to work PageAnon, for example.
+ */
+ if (!PageMappingFlags(pa...
2016 May 30
5
PATCH v6v2 02/12] mm: migrate: support non-lru movable page migration
...ng must be cleared before
* page is freed; but stats require that PageAnon be left as PageAnon.
*/
if (rc == MIGRATEPAGE_SUCCESS) {
- if (!PageAnon(page))
+ if (__PageMovable(page)) {
+ VM_BUG_ON_PAGE(!PageIsolated(page), page);
+
+ /*
+ * We clear PG_movable under page_lock so any compactor
+ * cannot try to migrate this page.
+ */
+ __ClearPageIsolated(page);
+ }
+
+ /*
+ * Anonymous and movable page->mapping will be cleard by
+ * free_pages_prepare so don't reset it here for keeping
+ * the type to work PageAnon, for example.
+ */
+ if (!PageMappingFlags(pa...
2013 May 12
3
FreeBSD Quarterly Status Report, January-March 2013
...ViewVC (SVN), as well as GitHub and Gitweb from git.freebsd.your.org,
plus a tad of other improvements, including a complete rewrite of an
mdoc parser. Last, but definitely not least, is an extensive set of
nginx rewrite rules that makes it a breeze to use BXR.SU as a
deterministic URL compactor for referencing BSD source code. For
example, the http://bxr.su/f/kern/sched_ule.c URL will automatically
redirect to http://bxr.su/FreeBSD/sys/kern/sched_ule.c through nginx.
Note that according to the release schedule of BXR.SU, there is no IPv4
glue until 2013-04-24; otherwise, the...
2016 May 09
5
[PATCH v5 00/13] Support non-lru page migration
Recently, I got many reports about perfermance degradation in embedded
system(Android mobile phone, webOS TV and so on) and easy fork fail.
The problem was fragmentation caused by zram and GPU driver mainly.
With memory pressure, their pages were spread out all of pageblock and
it cannot be migrated with current compaction algorithm which supports
only LRU pages. In the end, compaction cannot